Crate neuro_sama

Crate neuro_sama 

Source
Expand description

A crate implementing the Neuro-sama game API.

You will have to bring your own IO (i.e. work with the tungstenite or tokio-tungstenite crates).

The easiest option of getting started is looking at the game::Game trait documentation.

You may enable the "proposals" feature flag to enable the proposed commands described in API proposals. This feature is excluded from semver and is allowed to break on minor releases, because the proposed commands are not implemented on Neuro’s side.

The optional feature strip-trailing-zeroes strips .0 from round floating point numbers, it may be useful for slightly reducing schema/context size.

Re-exports§

pub use neuro_sama_derive as derive;

Modules§

game
A high(er) level API that utilizes the Rust type system for somewhat better ergonomics.
schema
The schema as described in the specification.