Crates.io | exp3 |
lib.rs | exp3 |
version | 0.2.0 |
source | src |
created_at | 2023-11-15 18:00:47.934476 |
updated_at | 2023-11-17 02:45:29.277843 |
description | data types for (de)serializing expression settings from exp3.json files |
homepage | |
repository | https://github.com/vtubing/exp3 |
max_upload_size | |
id | 1036636 |
size | 5,508 |
Rust data types for (de)serializing expression settings from .exp3.json
files
Run the following Cargo command in your project directory (assuming you have cargo-edit installed):
cargo add exp3
Or add the following line to your Cargo.toml
(in the [dependencies]
array):
exp3 = "^ 0.2"
use exp3::Expression3;
fn main() {
let json = std::fs::read_to_string("./path/to/some.exp3.json").unwrap();
let exp3: Expression3 = serde_json::from_str(&json).unwrap();
println!("{exp3:#?}");
}
Using the discovery process for undocumented JSON formats described here.
exp3
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: