#value #toml #spans #user #github #spanned-value #toml-rs

toml-spanned-value

SpannedValue support for the toml crate

1 unstable release

0.1.0 Oct 28, 2019

#106 in #spans

Download history 45/week @ 2024-07-22 59/week @ 2024-07-29 48/week @ 2024-08-05 19/week @ 2024-08-19 126/week @ 2024-08-26 58/week @ 2024-09-02 37/week @ 2024-09-09 61/week @ 2024-09-16 52/week @ 2024-09-23 90/week @ 2024-09-30 42/week @ 2024-10-07 47/week @ 2024-10-14 59/week @ 2024-10-21 12/week @ 2024-10-28 36/week @ 2024-11-04

159 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

~230–660KB
~14K SLoC