# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.66.0" name = "toml_edit" version = "0.19.15" authors = [ "Andronik Ordian ", "Ed Page ", ] include = [ "build.rs", "src/**/*", "Cargo.toml", "Cargo.lock", "LICENSE*", "README.md", "benches/**/*", "examples/**/*", "tests/**/*", ] description = "Yet another format-preserving TOML parser." readme = "README.md" keywords = [ "encoding", "toml", ] categories = [ "encoding", "parser-implementations", "parsing", "config", ] license = "MIT OR Apache-2.0" repository = "https://github.com/toml-rs/toml" autotests = false [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 = """ ## [Unreleased] - ReleaseDate """ search = "" [[package.metadata.release.pre-release-replacements]] exactly = 1 file = "CHANGELOG.md" replace = """ [Unreleased]: https://github.com/toml-rs/toml/compare/{{tag_name}}...HEAD""" search = "" [[example]] name = "visit" test = true [dependencies.indexmap] version = ">= 1.9.1" features = ["std"] [dependencies.kstring] version = "2.0.0" features = ["max_inline"] optional = true [dependencies.serde] version = "1.0.145" optional = true [dependencies.serde_spanned] version = "0.6.3" features = ["serde"] optional = true [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] version = "0.4.8" features = ["harness"] [features] default = [] perf = ["dep:kstring"] serde = [ "dep:serde", "toml_datetime/serde", "dep:serde_spanned", ] unbounded = []