cdi3 0.2.0

data types for (de)serializing display settings from cdi3.json files
Documentation
  • Coverage
  • 0%
    0 out of 18 items documented0 out of 1 items with examples
  • Size
  • Source code size: 5.83 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 618.72 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 25s Average build duration of successful builds.
  • all releases: 25s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • vtubing/cdi3
    0 1 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • colstrom

cdi3 Latest Version

What is it?

Rust data types for (de)serializing display settings from .cdi3.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 cdi3

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

cdi3 = "^ 0.2"

How do I use it?

fn main() {
  let json = std::fs::read_to_string("./path/to/some.cdi3.json").unwrap();
  let cdi3: DisplayInfo3 = serde_json::from_str(&json).unwrap();
}

How was this made?

Using the discovery process for undocumented JSON formats described here.

License

cdi3 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.