battlesnake-game-types

Crates.iobattlesnake-game-types
lib.rsbattlesnake-game-types
version0.17.0
sourcesrc
created_at2021-08-28 15:37:58.152875
updated_at2023-01-22 19:31:05.44286
descriptiongame types for play.battlesnake.com
homepage
repositoryhttps://github.com/penelopezone/battlesnake-game-types
max_upload_size
id443480
size743,461
Corey Alexander (coreyja)

documentation

https://docs.rs/battlesnake-game-types

README

Battlesnake Game Types

crates.io

A crate to represent game types in the game of battlesnake

Usage

The most common usage is decoding and encoding wire representation data:

use battlesnake_game_types::wire_representation::Game;
let g: Result<Game, _> = serde_json::from_slice(&body);

There are other useful tools that you can find better documented in the crate docs

Commit count: 159

cargo fmt