Crate rust_rocket

Source
Expand description

This crate implements a client library and a player for the rocket sync tracker. You can connect to a rocket tracker, get values from tracks, and live-edit your production.

There are two styles for using this crate:

§Simple API

See the [simple] module. Requires enabling the simple-feature. Handles both editing and release playback use cases using conditional compilation.

§Low-level API

The client module contains the types which you need to connect to a Rocket tracker and edit your production.

The player module contains a player which you can use when building your production in release mode.

§Features

FeaturePurpose
serdeDerive serde’s traits on the Track-type
bincodeDerive bincode’s traits on the Track-type
simpleEnables the [simple] API
playerBuilds the [simple] API in file player mode instead of client mode

All features are mutually compatible, but if you choose to use bincode as your serialization library, you don’t need to use serde.

The simple API enables bincode.

Re-exports§

pub use client::RocketClient;
pub use player::RocketPlayer;
pub use track::Track;

Modules§

client
Main client code, including the RocketClient type.
interpolation
Interpolation.
player
Player code for playing previously saved tracks, RocketPlayer.
track
Key and Track types.

Type Aliases§

Tracks
Produced by RocketClient::save_tracks and consumed by RocketPlayer::new