1# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO 2# 3# When uploading crates to the registry Cargo will automatically 4# "normalize" Cargo.toml files for maximal compatibility 5# with all versions of Cargo and also rewrite `path` dependencies 6# to registry (e.g., crates.io) dependencies. 7# 8# If you are reading this file be aware that the original Cargo.toml 9# will likely look very different (and much more reasonable). 10# See Cargo.toml.orig for the original contents. 11 12[package] 13edition = "2021" 14rust-version = "1.65" 15name = "x509-cert" 16version = "0.2.4" 17authors = ["RustCrypto Developers"] 18description = """ 19Pure Rust implementation of the X.509 Public Key Infrastructure Certificate 20format as described in RFC 5280 21""" 22readme = "README.md" 23keywords = ["crypto"] 24categories = [ 25 "cryptography", 26 "data-structures", 27 "encoding", 28 "no-std", 29] 30license = "Apache-2.0 OR MIT" 31repository = "https://github.com/RustCrypto/formats/tree/master/x509-cert" 32 33[package.metadata.docs.rs] 34all-features = true 35rustdoc-args = [ 36 "--cfg", 37 "docsrs", 38] 39 40[dependencies.arbitrary] 41version = "1.3" 42features = ["derive"] 43optional = true 44 45[dependencies.const-oid] 46version = "0.9.3" 47features = ["db"] 48 49[dependencies.der] 50version = "0.7.6" 51features = [ 52 "alloc", 53 "derive", 54 "flagset", 55 "oid", 56] 57 58[dependencies.sha1] 59version = "0.10.0" 60optional = true 61 62[dependencies.signature] 63version = "2.1.0" 64features = ["rand_core"] 65optional = true 66 67[dependencies.spki] 68version = "0.7.2" 69features = ["alloc"] 70 71[dev-dependencies.ecdsa] 72version = "0.16.7" 73features = [ 74 "digest", 75 "pem", 76] 77 78[dev-dependencies.hex-literal] 79version = "0.4" 80 81[dev-dependencies.p256] 82version = "0.13.0" 83 84[dev-dependencies.rand] 85version = "0.8.5" 86 87[dev-dependencies.rsa] 88version = "0.9.2" 89features = ["sha2"] 90 91[dev-dependencies.rstest] 92version = "0.17" 93 94[dev-dependencies.sha2] 95version = "0.10" 96features = ["oid"] 97 98[dev-dependencies.tempfile] 99version = "3.5.0" 100 101[features] 102arbitrary = [ 103 "dep:arbitrary", 104 "std", 105 "der/arbitrary", 106 "spki/arbitrary", 107] 108builder = [ 109 "std", 110 "sha1/default", 111 "signature", 112] 113default = [ 114 "pem", 115 "std", 116] 117hazmat = [] 118pem = [ 119 "der/pem", 120 "spki/pem", 121] 122std = [ 123 "const-oid/std", 124 "der/std", 125 "spki/std", 126] 127