# 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.75" name = "x509-verify" version = "0.4.6" authors = ["Brian Hession"] description = """ Pure Rust library that verifies X.509 signatures based on the algorithm identifiers """ readme = "README.md" keywords = [ "crypto", "x509", ] categories = [ "cryptography", "no-std", ] license = "Apache-2.0 OR MIT" repository = "https://github.com/bhesh/x509-verify/" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [dependencies.const-oid] version = "0.9.6" features = ["db"] default-features = false [dependencies.der] version = "0.7.9" features = [ "derive", "oid", ] default-features = false [dependencies.dsa] version = "0.6.3" optional = true default-features = false [dependencies.ecdsa] version = "0.16.9" features = ["verifying"] optional = true default-features = false [dependencies.ed25519-dalek] version = "2.1.1" optional = true default-features = false [dependencies.k256] version = "0.13.3" features = ["ecdsa"] optional = true default-features = false [dependencies.md-5] version = "0.10.6" features = ["oid"] optional = true default-features = false [dependencies.md2] version = "0.10.2" features = ["oid"] optional = true default-features = false [dependencies.p192] version = "0.13.0" features = ["ecdsa"] optional = true default-features = false [dependencies.p224] version = "0.13.2" features = ["ecdsa"] optional = true default-features = false [dependencies.p256] version = "0.13.2" features = ["ecdsa"] optional = true default-features = false [dependencies.p384] version = "0.13.0" features = ["ecdsa"] optional = true default-features = false [dependencies.rsa] version = "0.9.6" optional = true default-features = false [dependencies.sha1] version = "0.10.6" features = ["oid"] optional = true default-features = false [dependencies.sha2] version = "0.10.8" features = ["oid"] optional = true default-features = false [dependencies.signature] version = "2.2.0" features = ["digest"] default-features = false [dependencies.spki] version = "0.7.3" features = ["alloc"] default-features = false [dependencies.x509-cert] version = "0.2.5" optional = true default-features = false [dependencies.x509-ocsp] version = "0.2.1" optional = true default-features = false [dev-dependencies.x509-cert] version = "0.2.4" features = ["pem"] default-features = false [features] default = [ "sha2", "rsa", "k256", "p256", "p384", "ed25519", ] dsa = ["dep:dsa"] ecdsa = [ "k256", "p192", "p224", "p256", "p384", ] ed25519 = [ "sha2", "dep:ed25519-dalek", ] k256 = [ "sha2", "dep:ecdsa", "dep:k256", ] md2 = ["dep:md2"] md5 = ["dep:md-5"] p192 = [ "sha2", "dep:ecdsa", "dep:p192", ] p224 = [ "sha2", "dep:ecdsa", "dep:p224", ] p256 = [ "sha2", "dep:ecdsa", "dep:p256", ] p384 = [ "sha2", "dep:ecdsa", "dep:p384", ] pem = [ "x509", "der/pem", "x509-cert?/pem", ] rsa = ["dep:rsa"] sha1 = ["dep:sha1"] sha2 = ["dep:sha2"] std = ["x509-cert?/std"] x509 = [ "dep:x509-cert", "dep:x509-ocsp", ]