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
This library is distributed under the terms of both the MIT license and the Apache License (Version 2.0), at your option.
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.