aboutsummaryrefslogtreecommitdiff
path: root/Cargo.toml.orig
blob: 723504f59f6a2db28762194556f028e4d4af4d67 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
[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"]