toml-spanner

Crates.iotoml-spanner
lib.rstoml-spanner
version0.1.0
created_at2026-01-18 15:34:37.286601+00
updated_at2026-01-18 15:34:37.286601+00
descriptionToml parser and deserializer that preserves span information
homepagehttps://github.com/exrok/toml-spanner
repositoryhttps://github.com/exrok/toml-spanner
max_upload_size
id2052505
size119,698
Thomas Dagenais (exrok)

documentation

https://docs.rs/toml-spanner

README

toml-spanner

This create is fork of toml-span adding more support for the toml 1.1.0 spec, along the way,

Differences from toml

First off I just want to be up front and clear about the differences/limitations of this crate versus toml

  1. No serde support for deserialization, there is a serde feature, but that only enables serialization of the Value and Spanned types.
  2. No toml serialization. This crate is only intended to be a span preserving deserializer, there is no intention to provide serialization to toml, especially the advanced format preserving kind provided by toml-edit.
  3. No datetime deserialization. It would be trivial to add support for this (behind an optional feature), I just have no use for it at the moment. PRs welcome.

License

This contribution is dual licensed under EITHER OF

at your option.

Commit count: 51

cargo fmt