| 1 |
[package] |
| 2 |
name = "toml" |
| 3 |
version = "0.5.11" |
| 4 |
readme = "README.md" |
| 5 |
license = "MIT/Apache-2.0" |
| 6 |
keywords = ["encoding", "toml"] |
| 7 |
categories = ["encoding", "parser-implementations", "parsing", "config"] |
| 8 |
description = """ |
| 9 |
A native Rust encoder and decoder of TOML-formatted files and streams. Provides |
| 10 |
implementations of the standard Serialize/Deserialize traits for TOML data to |
| 11 |
facilitate deserializing and serializing Rust structures. |
| 12 |
""" |
| 13 |
authors = ["Alex Crichton <[email protected]>"] |
| 14 |
repository = "https://github.com/toml-rs/toml" |
| 15 |
homepage = "https://github.com/toml-rs/toml" |
| 16 |
documentation = "https://docs.rs/toml" |
| 17 |
edition = "2018" |
| 18 |
rust-version = "1.48.0" |
| 19 |
include = [ |
| 20 |
"src/**/*", |
| 21 |
"Cargo.toml", |
| 22 |
"LICENSE*", |
| 23 |
"README.md", |
| 24 |
"examples/**/*", |
| 25 |
"benches/**/*", |
| 26 |
"tests/**/*" |
| 27 |
] |
| 28 |
|
| 29 |
[package.metadata.release] |
| 30 |
pre-release-replacements = [ |
| 31 |
{file="CHANGELOG.md", search="Unreleased", replace="{{version}}", min=1}, |
| 32 |
{file="CHANGELOG.md", search="\\.\\.\\.HEAD", replace="...{{tag_name}}", exactly=1}, |
| 33 |
{file="CHANGELOG.md", search="ReleaseDate", replace="{{date}}", min=1}, |
| 34 |
{file="CHANGELOG.md", search="<!-- next-header -->", replace="<!-- next-header -->\n## [Unreleased] - ReleaseDate\n", exactly=1}, |
| 35 |
{file="CHANGELOG.md", search="<!-- next-url -->", replace="<!-- next-url -->\n[Unreleased]: https://github.com/toml-rs/toml_edit/compare/{{tag_name}}...HEAD", exactly=1}, |
| 36 |
] |
| 37 |
|
| 38 |
[features] |
| 39 |
default = [] |
| 40 |
|
| 41 |
# Use indexmap rather than BTreeMap as the map type of toml::Value. |
| 42 |
# This allows data to be read into a Value and written back to a TOML string |
| 43 |
# while preserving the order of map keys in the input. |
| 44 |
preserve_order = ["indexmap"] |
| 45 |
|
| 46 |
[dependencies] |
| 47 |
serde = "1.0.97" |
| 48 |
indexmap = { version = "1.0", optional = true } |
| 49 |
|
| 50 |
[dev-dependencies] |
| 51 |
serde_derive = "1.0" |
| 52 |
serde_json = "1.0" |