[package] name = "rxml" version = "0.12.0" authors = ["Jonas Schäfer "] license = "MIT" edition = "2018" description = "Minimalistic, restricted XML 1.0 parser which does not include dangerous XML features." readme = true repository = "https://codeberg.org/jssfr/rxml" keywords = ["xml"] categories = ["parsing"] exclude = ["/fuzz", "/util", "/target"] # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] weak-table = { version = "^0.3", optional = true } rxml_validation = { version = "^0.11.0" } tokio = { version = "^1", default-features = false, optional = true } bytes = { version = "^1" } rxml_proc = { version = "^0.11.0", optional = true } pin-project-lite = { version = "^0.2", optional = true } futures-core = { version = "^0.3", optional = true} [features] sync = [] shared_ns = ["weak-table"] default = ["tokio", "compact_str"] tokio = ["dep:tokio", "dep:pin-project-lite"] macros = ["rxml_proc"] stream = ["tokio", "futures-core"] compact_str = ["rxml_validation/compact_str"] [dev-dependencies] # net is needed because docs don't build on tokio 1.38 otherwise tokio = { version = "^1", features = ["rt", "macros", "io-util", "net"], default-features = false } tokio-test = { version = "^0.4" } criterion = { version = "^0.5", features = ["html_reports"] } [[bench]] name = "parse" harness = false [[bench]] name = "q" harness = false [[bench]] name = "escaping" harness = false [package.metadata.docs.rs] all-features = true rustdoc-args = ["--cfg", "docsrs"]