Revision control
Copy as Markdown
Other Tools
# 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.56"
name = "quick-xml"
version = "0.31.0"
include = [
"src/*",
"LICENSE-MIT.md",
"README.md",
]
description = "High performance xml reader and writer"
readme = "README.md"
keywords = [
"xml",
"serde",
"parser",
"writer",
"html",
]
categories = [
"asynchronous",
"encoding",
"parsing",
"parser-implementations",
]
license = "MIT"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docs_rs",
]
[lib]
bench = false
[[example]]
name = "read_nodes_serde"
path = "examples/read_nodes_serde.rs"
required-features = ["serialize"]
[[test]]
name = "encodings"
path = "tests/encodings.rs"
required-features = ["encoding"]
[[test]]
name = "serde_roundtrip"
path = "tests/serde_roundtrip.rs"
required-features = ["serialize"]
[[test]]
name = "serde-de"
path = "tests/serde-de.rs"
required-features = ["serialize"]
[[test]]
name = "serde-de-enum"
path = "tests/serde-de-enum.rs"
required-features = ["serialize"]
[[test]]
name = "serde-de-seq"
path = "tests/serde-de-seq.rs"
required-features = ["serialize"]
[[test]]
name = "serde-se"
path = "tests/serde-se.rs"
required-features = ["serialize"]
[[test]]
name = "serde-migrated"
path = "tests/serde-migrated.rs"
required-features = ["serialize"]
[[test]]
name = "serde-issues"
path = "tests/serde-issues.rs"
required-features = ["serialize"]
[[test]]
name = "async-tokio"
path = "tests/async-tokio.rs"
required-features = ["async-tokio"]
[[bench]]
name = "microbenches"
path = "benches/microbenches.rs"
harness = false
[[bench]]
name = "macrobenches"
path = "benches/macrobenches.rs"
harness = false
[dependencies.arbitrary]
version = "1"
features = ["derive"]
optional = true
[dependencies.document-features]
version = "0.2"
optional = true
[dependencies.encoding_rs]
version = "0.8"
optional = true
[dependencies.memchr]
version = "2.1"
[dependencies.serde]
version = ">=1.0.100"
optional = true
[dependencies.tokio]
version = "1.10"
features = ["io-util"]
optional = true
default-features = false
[dev-dependencies.criterion]
version = "0.4"
[dev-dependencies.pretty_assertions]
version = "1.4"
[dev-dependencies.regex]
version = "1"
[dev-dependencies.serde-value]
version = "0.7"
[dev-dependencies.serde_derive]
version = "1.0.79"
[dev-dependencies.tokio]
version = "1.21"
features = [
"macros",
"rt",
]
default-features = false
[dev-dependencies.tokio-test]
version = "0.4"
[features]
async-tokio = ["tokio"]
default = []
encoding = ["encoding_rs"]
escape-html = []
overlapped-lists = []
serde-types = ["serde/derive"]
serialize = ["serde"]