blob: 5c7a98bc82442b5111a90a931a052280f67c96e2 [file] [log] [blame] [edit]
# 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"
rust-version = "1.46"
name = "quick-xml"
version = "0.26.0"
include = [
"src/*",
"LICENSE-MIT.md",
"README.md",
]
description = "High performance xml reader and writer"
documentation = "https://docs.rs/quick-xml"
readme = "README.md"
keywords = [
"xml",
"serde",
"parser",
"writer",
"html",
]
categories = [
"asynchronous",
"encoding",
"parsing",
"parser-implementations",
]
license = "MIT"
repository = "https://github.com/tafia/quick-xml"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docs_rs",
]
[lib]
bench = false
[[test]]
name = "encodings"
path = "tests/encodings.rs"
required-features = ["encoding"]
[[test]]
name = "serde_attrs"
path = "tests/serde_attrs.rs"
required-features = ["serialize"]
[[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-se"
path = "tests/serde-se.rs"
required-features = ["serialize"]
[[test]]
name = "serde-migrated"
path = "tests/serde-migrated.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.document-features]
version = "0.2"
optional = true
[dependencies.encoding_rs]
version = "0.8"
optional = true
[dependencies.memchr]
version = "2.0"
[dependencies.serde]
version = "1.0.100"
optional = true
[dependencies.tokio]
version = "1.0"
features = ["io-util"]
optional = true
default-features = false
[dev-dependencies.criterion]
version = "0.4"
[dev-dependencies.pretty_assertions]
version = "1.3"
[dev-dependencies.regex]
version = "1"
[dev-dependencies.serde]
version = "1.0"
features = ["derive"]
[dev-dependencies.serde-value]
version = "0.7"
[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 = []
serialize = ["serde"]