# 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 = "2018" name = "rxml" version = "0.12.0" authors = ["Jonas Schäfer "] build = false exclude = [ "/fuzz", "/util", "/target", ] autobins = false autoexamples = false autotests = false autobenches = false description = "Minimalistic, restricted XML 1.0 parser which does not include dangerous XML features." readme = "README.md" keywords = ["xml"] categories = ["parsing"] license = "MIT" repository = "https://codeberg.org/jssfr/rxml" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "rxml" path = "src/lib.rs" [[example]] name = "pipe" path = "examples/pipe.rs" [[bench]] name = "escaping" path = "benches/escaping.rs" harness = false [[bench]] name = "parse" path = "benches/parse.rs" harness = false [[bench]] name = "q" path = "benches/q.rs" harness = false [dependencies.bytes] version = "^1" [dependencies.futures-core] version = "^0.3" optional = true [dependencies.pin-project-lite] version = "^0.2" optional = true [dependencies.rxml_proc] version = "^0.11.0" optional = true [dependencies.rxml_validation] version = "^0.11.0" [dependencies.tokio] version = "^1" optional = true default-features = false [dependencies.weak-table] version = "^0.3" optional = true [dev-dependencies.criterion] version = "^0.5" features = ["html_reports"] [dev-dependencies.tokio] version = "^1" features = [ "rt", "macros", "io-util", "net", ] default-features = false [dev-dependencies.tokio-test] version = "^0.4" [features] compact_str = ["rxml_validation/compact_str"] default = [ "tokio", "compact_str", ] macros = ["rxml_proc"] shared_ns = ["weak-table"] stream = [ "tokio", "futures-core", ] sync = [] tokio = [ "dep:tokio", "dep:pin-project-lite", ]