summaryrefslogtreecommitdiffstats
path: root/vendor/toml/tests/encoder_compliance.rs
blob: 38072483156960642be01eb358ca842ad01d87c8 (plain)
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.ignore(["valid/spec/float-0.toml"]).unwrap();
    harness.test();
}

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