| Crates.io | neuro-sama |
| lib.rs | neuro-sama |
| version | 0.5.0-alpha.6 |
| created_at | 2024-12-11 00:12:25.85651+00 |
| updated_at | 2025-01-21 16:48:52.347388+00 |
| description | A crate that implements the Neuro-sama game API |
| homepage | |
| repository | https://github.com/chayleaf/rust-neuro-sama-game-api/ |
| max_upload_size | |
| id | 1479212 |
| size | 52,968 |
A Rust crate that implements the Neuro-sama game
API. It doesn't handle
WebSocket communications itself, instead, it works with tungstenite
messages, which you can handle whichever way you want.
There's a high-level API and a low-level API available. The low-level
API simply defines the API schema, it's available in the schema
submodule. The high-level API is hopefully easier and safer to work
with, it's available in the game submodule.
Optionally, a proposals feature is available that enables proposed
commands that have not yet been accepted or implemented - you can use it
for testing, but the feature is excluded from semver guarantees.
actions/reregister_all command.proposals feature.Arc for Api::newApi from a separate object into a sealed traitregister_actions_rawstrip-trailing-zeroes featureaction/resultnull schemas equivalent to untyped {}{} not being valid input for null schemasschemars to 1.0TL;DR do whatever you want.
Licensed under either the BSD Zero Clause License (https://opensource.org/licenses/0BSD), the Apache 2.0 License (http://www.apache.org/licenses/LICENSE-2.0) or the MIT License (http://opensource.org/licenses/MIT), at your choice.