#toml #spans #value #spanned-value #toml-rs

toml-spanned-value

SpannedValue support for the toml crate

1 unstable release

0.1.0 Oct 28, 2019

#100 in #spans

Download history 17/week @ 2024-02-26 14/week @ 2024-03-04 19/week @ 2024-03-11 33/week @ 2024-03-18 12/week @ 2024-03-25 40/week @ 2024-04-01 20/week @ 2024-04-08 15/week @ 2024-04-15 28/week @ 2024-04-22 14/week @ 2024-04-29 12/week @ 2024-05-06 128/week @ 2024-05-13 72/week @ 2024-05-20 63/week @ 2024-05-27 24/week @ 2024-06-03 60/week @ 2024-06-10

224 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–660KB
~14K SLoC