[package]
edition = "2021"
name = "libxml-rs"
version = "0.1.0-alpha.3"
authors = ["libxml-rs Contributors"]
build = "build.rs"
exclude = [
"libxml-rs-prompt.txt",
"archaeology/",
"tools/",
"docker/",
"oracle/",
"courts/",
".gitignore",
"session1.md",
"CACHEDIR.TAG",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Phase 2: XML parsing + SAX complete. Native-Rust forensic reimplementation of libxml2+libxslt with C ABI drop-in replacement. 118 tests passing, parser state machine, tokenizer, SAX dispatch, tree-building default handlers, C ABI exports."
homepage = "https://github.com/infinityabundance/libxml-rs"
documentation = "https://docs.rs/libxml-rs"
readme = "README.md"
keywords = [
"xml",
"xslt",
"libxml2",
"libxslt",
"abi-compatible",
]
categories = [
"parser-implementations",
"external-ffi-bindings",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/infinityabundance/libxml-rs"
[badges.maintenance]
status = "actively-developed"
[features]
c14n = []
catalog = []
debug = []
default = [
"libxml2",
"libxslt",
"xpath",
"xinclude",
"schemas",
"catalog",
"html",
"c14n",
"regexp",
"reader",
"writer",
"debug",
"threads",
]
error_subsystem_transition = []
html = []
html_behavior_transition = []
legacy_parser = []
libxml2 = []
libxslt = []
reader = []
regexp = []
resource_loader_transition = []
schemas = []
thread_local_globals = []
threads = []
writer = []
xinclude = []
xpath = []
[lib]
name = "libxml_rs"
crate-type = [
"cdylib",
"staticlib",
"rlib",
]
path = "src/lib.rs"
[[bin]]
name = "xmllint"
path = "src/bin/xmllint.rs"
[[bin]]
name = "xmlcatalog"
path = "src/bin/xmlcatalog.rs"
[[bin]]
name = "xsltproc"
path = "src/bin/xsltproc.rs"
[dependencies.arbitrary]
version = "1.3"
optional = true
[dependencies.bitflags]
version = "2.0"
[dependencies.chrono]
version = "0.4"
features = ["std"]
optional = true
[dependencies.encoding_rs]
version = "0.8"
[dependencies.encoding_rs_io]
version = "0.1"
[dependencies.hashbrown]
version = "0.14"
[dependencies.libc]
version = "0.2"
features = ["extra_traits"]
[dependencies.num-bigint]
version = "0.4"
optional = true
[dependencies.num-traits]
version = "0.2"
optional = true
[dependencies.once_cell]
version = "1.19"
[dependencies.parking_lot]
version = "0.12"
[dependencies.pretty_assertions]
version = "1.4"
optional = true
[dependencies.regex]
version = "1.10"
optional = true
[dependencies.serde]
version = "1.0"
features = ["derive"]
optional = true
[dependencies.serde_json]
version = "1.0"
optional = true
[dependencies.smallvec]
version = "1.10"
[dependencies.tempfile]
version = "3.8"
optional = true
[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]
[dev-dependencies.proptest]
version = "1.0"
[dev-dependencies.quickcheck]
version = "1.0"
[dev-dependencies.quickcheck_macros]
version = "1.0"
[profile.dev]
debug = 2
overflow-checks = true
[profile.release]
lto = true
codegen-units = 1
panic = "abort"
strip = "symbols"