#toml #spans #support #value #value-type #spanned-value #toml-rs

toml-spanned-value

SpannedValue support for the toml crate

1 unstable release

0.1.0 Oct 28, 2019

#108 in #spans

41 downloads per month
Used in 2 crates (via mdbook-quiz-validate)

MIT/Apache

41KB
892 lines

toml-spanned-value

dependency status

The toml crate provides users with a Value type that can be used for custom parsing logic. However, this type doesn't support span information. Spans provide location information to allow for good error messages or other purposes. The toml-spanned-value crate provides a SpannedValue type to fix this.

See also these issues/threads in toml-rs:

License

This library is distributed under the terms of both the MIT license and the Apache License (Version 2.0), at your option.

See LICENSE-APACHE and LICENSE-MIT for details.

License of your contributions

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~235–670KB
~14K SLoC