diff options
Diffstat (limited to 'Cargo.toml.orig')
-rw-r--r-- | Cargo.toml.orig | 68 |
1 files changed, 68 insertions, 0 deletions
diff --git a/Cargo.toml.orig b/Cargo.toml.orig new file mode 100644 index 0000000..cda679f --- /dev/null +++ b/Cargo.toml.orig @@ -0,0 +1,68 @@ +[package] +name = "toml_edit" +version = "0.19.14" +keywords = ["encoding", "toml"] +categories = ["encoding", "parser-implementations", "parsing", "config"] +description = "Yet another format-preserving TOML parser." +authors = ["Andronik Ordian <write@reusable.software>", "Ed Page <eopage@gmail.com>"] +repository.workspace = true +license.workspace = true +edition.workspace = true +rust-version.workspace = true +include.workspace = true + +[package.metadata.docs.rs] +rustdoc-args = ["--cfg", "docsrs"] +features = ["serde"] + +[package.metadata.release] +tag-name = "v{{version}}" +pre-release-replacements = [ + {file="CHANGELOG.md", search="Unreleased", replace="{{version}}", min=1}, + {file="CHANGELOG.md", search="\\.\\.\\.HEAD", replace="...{{tag_name}}", exactly=1}, + {file="CHANGELOG.md", search="ReleaseDate", replace="{{date}}", min=1}, + {file="CHANGELOG.md", search="<!-- next-header -->", replace="<!-- next-header -->\n## [Unreleased] - ReleaseDate\n", exactly=1}, + {file="CHANGELOG.md", search="<!-- next-url -->", replace="<!-- next-url -->\n[Unreleased]: https://github.com/toml-rs/toml/compare/{{tag_name}}...HEAD", exactly=1}, +] + +[features] +default = [] +perf = ["dep:kstring"] +serde = ["dep:serde", "toml_datetime/serde", "dep:serde_spanned"] +# Provide a method disable_recursion_limit to parse arbitrarily deep structures +# without any consideration for overflowing the stack. Additionally you will +# need to be careful around other recursive operations on the parsed result +# which may overflow the stack after deserialization has completed, including, +# but not limited to, Display and Debug and Drop impls. +unbounded = [] + +[dependencies] +indexmap = { version = "2.0.0", features = ["std"] } +winnow = "0.5.0" +serde = { version = "1.0.145", optional = true } +kstring = { version = "2.0.0", features = ["max_inline"], optional = true } +toml_datetime = { version = "0.6.3", path = "../toml_datetime" } +serde_spanned = { version = "0.6.3", path = "../serde_spanned", features = ["serde"], optional = true } + +[dev-dependencies] +serde_json = "1.0.96" +toml-test-harness = "0.4.3" +toml-test-data = "1.3.0" +libtest-mimic = "0.6.0" +snapbox = { version = "0.4.11", features = ["harness"] } + +[[test]] +name = "decoder_compliance" +harness = false + +[[test]] +name = "encoder_compliance" +harness = false + +[[test]] +name = "invalid" +harness = false + +[[example]] +name = "visit" +test = true |