Crate rust_rocket

Source
Expand description

This crate implements a client library and player for the Rocket sync tracker. You can connect to a rocket editor, get values from tracks, and save them to a file (with the optional serde and bincode features).

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

The player module contains a player implementation which you can use in release mode. It supports loading previously saved tracks and getting values from them.

§Features

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

§Usage

Start by connecting the RocketClient. Then create tracks with get_track_mut and poll for updates from the Rocket server by calling poll_events in your main loop.

See linked documentation items for more examples.

Re-exports§

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

Modules§

client
This module contains the main client code, including the RocketClient type.
interpolation
This module contains anything related to interpolation.
player
This module contains a barebones player.
track
This module contains Key and Track types.

Type Aliases§

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