[[example]]
name = "decode"
required-features = ["parse", "display"]
[[example]]
name = "enum_external"
required-features = ["parse", "display"]
[[example]]
name = "toml2json"
required-features = ["parse", "display"]
[[test]]
harness = false
name = "decoder_compliance"
[[test]]
harness = false
name = "encoder_compliance"
[dependencies.indexmap]
optional = true
version = "2.0.0"
[dependencies.serde]
version = "1.0.145"
[dependencies.serde_spanned]
features = ["serde"]
version = "0.6.3"
[dependencies.toml_datetime]
features = ["serde"]
version = "0.6.3"
[dependencies.toml_edit]
features = ["serde"]
optional = true
version = "0.19.15"
[dev-dependencies.serde]
features = ["derive"]
version = "1.0.160"
[dev-dependencies.serde_json]
version = "1.0.96"
[dev-dependencies.snapbox]
version = "0.4.11"
[dev-dependencies.toml-test-harness]
version = "0.4.3"
[features]
default = ["parse", "display"]
display = ["dep:toml_edit"]
parse = ["dep:toml_edit"]
preserve_order = ["indexmap"]
[package]
authors = ["Alex Crichton <alex@alexcrichton.com>"]
categories = ["encoding", "parser-implementations", "parsing", "config"]
description = "A native Rust encoder and decoder of TOML-formatted files and streams. Provides\nimplementations of the standard Serialize/Deserialize traits for TOML data to\nfacilitate deserializing and serializing Rust structures.\n"
edition = "2021"
homepage = "https://github.com/toml-rs/toml"
include = ["build.rs", "src/**/*", "Cargo.toml", "Cargo.lock", "LICENSE*", "README.md", "benches/**/*", "examples/**/*", "tests/**/*"]
keywords = ["encoding", "toml"]
license = "MIT OR Apache-2.0"
name = "toml"
readme = "README.md"
repository = "https://github.com/toml-rs/toml"
rust-version = "1.66.0"
version = "0.7.8"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[[package.metadata.release.pre-release-replacements]]
file = "CHANGELOG.md"
min = 1
replace = "{{version}}"
search = "Unreleased"
[[package.metadata.release.pre-release-replacements]]
exactly = 1
file = "CHANGELOG.md"
replace = "...{{tag_name}}"
search = "\\.\\.\\.HEAD"
[[package.metadata.release.pre-release-replacements]]
file = "CHANGELOG.md"
min = 1
replace = "{{date}}"
search = "ReleaseDate"
[[package.metadata.release.pre-release-replacements]]
exactly = 1
file = "CHANGELOG.md"
replace = "<!-- next-header -->\n## [Unreleased] - ReleaseDate\n"
search = "<!-- next-header -->"
[[package.metadata.release.pre-release-replacements]]
exactly = 1
file = "CHANGELOG.md"
replace = "<!-- next-url -->\n[Unreleased]: https://github.com/toml-rs/toml/compare/{{tag_name}}...HEAD"
search = "<!-- next-url -->"