| [package] |
| name = "x509-cert" |
| version = "0.1.1" |
| description = """ |
| Pure Rust implementation of the X.509 Public Key Infrastructure Certificate |
| format as described in RFC 5280 |
| """ |
| authors = ["RustCrypto Developers"] |
| license = "Apache-2.0 OR MIT" |
| repository = "https://github.com/RustCrypto/formats/tree/master/x509-cert" |
| categories = ["cryptography", "data-structures", "encoding", "no-std"] |
| keywords = ["crypto"] |
| readme = "README.md" |
| edition = "2021" |
| rust-version = "1.56" |
| |
| [dependencies] |
| const-oid = { version = "0.9", features = ["db"], path = "../const-oid" } |
| der = { version = "0.6", features = ["derive", "alloc", "flagset"], path = "../der" } |
| flagset = { version = "0.4.3" } |
| spki = { version = "0.6", path = "../spki" } |
| |
| [dev-dependencies] |
| hex-literal = "0.3" |
| |
| # NOTE: upgrading requires MSRV bumps |
| # - rstest v0.13 requires 1.59 (for `async-global-executor`) |
| # - rstest v0.14 requires a workspace-wide 1.60 MSRV (for namespaced features) |
| rstest = "0.12" |
| |
| [features] |
| alloc = ["der/alloc"] |
| std = ["der/std", "spki/std"] |
| pem = ["alloc", "der/pem"] |
| |
| [package.metadata.docs.rs] |
| all-features = true |
| rustdoc-args = ["--cfg", "docsrs"] |