d375f4d63a
This way, times without fractional seconds will be compare equal to times with 0 fractional seconds if all else is equal. For example, 06:00:00 == 06:00:00.0 Closes https://github.com/alexcrichton/toml-rs/issues/179 |
||
---|---|---|
examples | ||
src | ||
tests | ||
.gitignore | ||
.travis.yml | ||
Cargo.toml | ||
LICENSE-APACHE | ||
LICENSE-MIT | ||
README.md |
toml-rs
A TOML decoder and encoder for Rust. This library is currently compliant with the v0.4.0 version of TOML. This library will also likely continue to stay up to date with the TOML specification as changes happen.
# Cargo.toml
[dependencies]
toml = "0.4"
This crate also supports serialization/deserialization through the
serde crate on crates.io. Currently the older rustc-serialize
crate is not supported in the 0.3+ series of the toml
crate, but 0.2 can be
used for that support.
License
toml-rs
is primarily distributed under the terms of both the MIT license and
the Apache License (Version 2.0), with portions covered by various BSD-like
licenses.
See LICENSE-APACHE, and LICENSE-MIT for details.