xml-sec 0.1.1

Pure Rust XML Security: XMLDSig, XMLEnc, C14N. Drop-in replacement for libxmlsec1.
Documentation
# 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 = "2024"
rust-version = "1.92"
name = "xml-sec"
version = "0.1.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Pure Rust XML Security: XMLDSig, XMLEnc, C14N. Drop-in replacement for libxmlsec1."
homepage = "https://github.com/structured-world/xml-sec"
documentation = "https://docs.rs/xml-sec"
readme = "README.md"
keywords = [
    "xml",
    "xmldsig",
    "xmlenc",
    "c14n",
    "saml",
]
categories = [
    "cryptography",
    "web-programming",
    "authentication",
]
license = "Apache-2.0"
repository = "https://github.com/structured-world/xml-sec"

[features]
c14n = []
default = [
    "xmldsig",
    "c14n",
]
xmldsig = []
xmlenc = []

[lib]
name = "xml_sec"
path = "src/lib.rs"

[[test]]
name = "c14n_golden"
path = "tests/c14n_golden.rs"

[[test]]
name = "c14n_integration"
path = "tests/c14n_integration.rs"

[[test]]
name = "donor_digest_vectors"
path = "tests/donor_digest_vectors.rs"

[[test]]
name = "fixtures_smoke"
path = "tests/fixtures_smoke.rs"

[[test]]
name = "reference_integration"
path = "tests/reference_integration.rs"

[[test]]
name = "rsa_signature_integration"
path = "tests/rsa_signature_integration.rs"

[[test]]
name = "transforms_integration"
path = "tests/transforms_integration.rs"

[[test]]
name = "uri_integration"
path = "tests/uri_integration.rs"

[dependencies.base64]
version = "0.22"

[dependencies.der]
version = "0.8"

[dependencies.ring]
version = "0.17"

[dependencies.roxmltree]
version = "0.21"
features = ["positions"]

[dependencies.thiserror]
version = "2"

[dependencies.x509-parser]
version = "0.18"