[[example]]
name = "visit"
test = true
[[test]]
harness = false
name = "decoder_compliance"
[[test]]
harness = false
name = "encoder_compliance"
[[test]]
harness = false
name = "invalid"
[dependencies.indexmap]
features = ["std"]
version = "2.0.0"
[dependencies.kstring]
features = ["max_inline"]
optional = true
version = "2.0.0"
[dependencies.serde]
optional = true
version = "1.0.145"
[dependencies.serde_spanned]
features = ["serde"]
optional = true
version = "0.6.3"
[dependencies.toml_datetime]
version = "0.6.3"
[dependencies.winnow]
version = "0.5.0"
[dev-dependencies.libtest-mimic]
version = "0.6.0"
[dev-dependencies.serde_json]
version = "1.0.96"
[dev-dependencies.snapbox]
features = ["harness"]
version = "0.4.11"
[dev-dependencies.toml-test-data]
version = "1.3.0"
[dev-dependencies.toml-test-harness]
version = "0.4.3"
[features]
default = []
perf = ["dep:kstring"]
serde = ["dep:serde", "toml_datetime/serde", "dep:serde_spanned"]
unbounded = []
[package]
authors = ["Andronik Ordian <write@reusable.software>", "Ed Page <eopage@gmail.com>"]
categories = ["encoding", "parser-implementations", "parsing", "config"]
description = "Yet another format-preserving TOML parser."
edition = "2021"
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_edit"
readme = "README.md"
repository = "https://github.com/toml-rs/toml"
rust-version = "1.66.0"
version = "0.19.15"
[package.metadata.docs.rs]
features = ["serde"]
rustdoc-args = ["--cfg", "docsrs"]
[package.metadata.release]
tag-name = "v{{version}}"
[[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 -->"