motionsync3

Crates.iomotionsync3
lib.rsmotionsync3
version0.2.0
sourcesrc
created_at2023-11-15 18:01:20.285111
updated_at2023-11-17 02:57:53.668195
descriptiondata types for (de)serializing motion sync settings from motionsync3.json files
homepage
repositoryhttps://github.com/vtubing/motionsync3
max_upload_size
id1036639
size8,221
Chris Olstrom (colstrom)

documentation

https://docs.rs/motionsync3

README

motionsync3 Latest Version

What is it?

Rust data types for (de)serializing motion sync settings from motionsync3.json files

How do I obtain this majestic tool?

Run the following Cargo command in your project directory (assuming you have cargo-edit installed):

cargo add motionsync3

Or add the following line to your Cargo.toml (in the [dependencies] array):

motionsync3 = "^ 0.2"

How do I use it?

use motionsync3::MotionSync3;

fn main() {
  let json = std::fs::read_to_string("./path/to/some.motionsync3.json").unwrap();
  let motionsync3: MotionSync3 = serde_json::from_str(&json).unwrap();
  println!("{motionsync3:#?}");
}

How was this made?

Using the discovery process for undocumented JSON formats described here.

License

motionsync3 is available under the MIT License. See LICENSE.txt for the full text.

While the license is short, it's still written in fancy lawyer-speak. If you prefer more down-to-earth language, consider the following:

  • tl;drLegal has a simple visual summary available here.
  • FOSSA has a more in-depth overview available here.
Commit count: 2

cargo fmt