# 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.73" name = "nondestructive" version = "0.0.26" authors = ["John-John Tedro "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Nondestructive editing over various file formats." homepage = "https://github.com/udoprog/nondestructive" documentation = "https://docs.rs/nondestructive" readme = "README.md" keywords = ["yaml"] categories = [ "encoding", "parser-implementations", ] license = "MIT OR Apache-2.0" repository = "https://github.com/udoprog/nondestructive" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "nondestructive" path = "src/lib.rs" [[example]] name = "load" path = "examples/load.rs" [[test]] name = "insert-strip" path = "tests/insert-strip.rs" [[test]] name = "push-mapping" path = "tests/push-mapping.rs" [[test]] name = "quoted-map-key" path = "tests/quoted-map-key.rs" [[test]] name = "yaml-compare" path = "tests/yaml-compare.rs" [dependencies.bstr] version = "1.4.0" [dependencies.itoa] version = "1.0.6" [dependencies.lexical-core] version = "0.8.5" [dependencies.memchr] version = "2.5.0" [dependencies.ryu] version = "1.0.13" [dependencies.serde] version = "1.0.160" optional = true [dependencies.slab] version = "0.4.8" [dependencies.twox-hash] version = "1.6.3" [dev-dependencies.anyhow] version = "1.0.70" [dev-dependencies.serde] version = "1.0.160" features = ["derive"] [dev-dependencies.serde_yaml] version = "0.9.21" [features] default = ["yaml"] serde = [ "dep:serde", "bstr/serde", ] serde-edits = [ "dep:serde", "bstr/serde", "serde?/derive", "slab/serde", ] yaml = [] [lints.rust.unexpected_cfgs] level = "warn" priority = 0 check-cfg = ["cfg(nondestructive_write_to_eq)"]