11 releases

0.0.11 Aug 1, 2021
0.0.10 Jul 29, 2021
0.0.3 Sep 22, 2020
0.0.1 Aug 26, 2020

#133 in Parser implementations

Download history 288/week @ 2021-08-11 594/week @ 2021-08-18 264/week @ 2021-08-25 184/week @ 2021-09-01 259/week @ 2021-09-08 265/week @ 2021-09-15 223/week @ 2021-09-22 115/week @ 2021-09-29 163/week @ 2021-10-06 307/week @ 2021-10-13 329/week @ 2021-10-20 91/week @ 2021-10-27 127/week @ 2021-11-03 36/week @ 2021-11-10 44/week @ 2021-11-17 47/week @ 2021-11-24

286 downloads per month
Used in 4 crates (2 directly)

MIT/Apache

70KB
2K SLoC

TAML

Lib.rs Crates.io Docs.rs

Rust 1.53 CI Crates.io - License

GitHub open issues open pull requests crev reviews

TAML is a configuration file format combining some aspects of Markdown, CSV, TOML, YAML and Rust.

As configuration language, TAML's main design goals are to be:

  • Human-writeable
  • Human-readable
  • Unambiguous and Debuggable
  • Computer-readable

Since it is mainly human-oriented and the same data can be represented in multiple ways, there is in fact no serializer in this library. If you need a data transfer format, pretty much anything else will give you better performance.

That said, I believe that for human-written files, TAML offers a great balance between brevity and simplicity, with more than sufficient performance.

A command line validator and formatter is available in the taml-cli crate.
Serde-intergration can be found in serde_taml.

See https://taml.schichler.dev for documentation on the format itself.

Installation

Please use cargo-edit to always add the latest version of this library:

cargo add taml

Example

TODO: Add a good example file here.

License

Licensed under either of

at your option.

Contribution

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.

Code of Conduct

Changelog

Versioning

taml strictly follows Semantic Versioning 2.0.0 with the following exceptions:

  • Invalid TAML becoming valid is considered a feature addition.
  • The minor version will not reset to 0 on major version changes (except for v1).
    Consider it the global feature level.
  • The patch version will not reset to 0 on major or minor version changes (except for v0.1 and v1).
    Consider it the global patch level.

This includes the Rust version requirement specified above.
Earlier Rust versions may be compatible, but this can change with minor or patch releases.

Which versions are affected by features and patches can be determined from the respective headings in CHANGELOG.md.

Dependencies

~1–1.4MB
~30K SLoC