[go: up one dir, main page]

toml 0.8.19

A native Rust encoder and decoder of TOML-formatted files and streams. Provides implementations of the standard Serialize/Deserialize traits for TOML data to facilitate deserializing and serializing Rust structures.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
mod decoder;
mod encoder;

#[cfg(all(feature = "parse", feature = "display"))]
fn main() {
    let encoder = encoder::Encoder;
    let decoder = decoder::Decoder;
    let mut harness = toml_test_harness::EncoderHarness::new(encoder, decoder);
    harness.version("1.0.0");
    harness.test();
}

#[cfg(not(all(feature = "parse", feature = "display")))]
fn main() {}