• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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.57"
15name = "spki"
16version = "0.6.0"
17authors = ["RustCrypto Developers"]
18description = """
19X.509 Subject Public Key Info (RFC5280) describing public keys as well as their
20associated AlgorithmIdentifiers (i.e. OIDs)
21"""
22readme = "README.md"
23keywords = [
24    "crypto",
25    "x509",
26]
27categories = [
28    "cryptography",
29    "data-structures",
30    "encoding",
31    "no-std",
32]
33license = "Apache-2.0 OR MIT"
34repository = "https://github.com/RustCrypto/formats/tree/master/spki"
35resolver = "2"
36
37[package.metadata.docs.rs]
38all-features = true
39rustdoc-args = [
40    "--cfg",
41    "docsrs",
42]
43
44[dependencies.base64ct]
45version = "1"
46optional = true
47default-features = false
48
49[dependencies.der]
50version = "0.6"
51features = ["oid"]
52
53[dependencies.sha2]
54version = "0.10"
55optional = true
56default-features = false
57
58[dev-dependencies.hex-literal]
59version = "0.3"
60
61[dev-dependencies.tempfile]
62version = "3"
63
64[features]
65alloc = [
66    "base64ct?/alloc",
67    "der/alloc",
68]
69fingerprint = ["sha2"]
70pem = [
71    "alloc",
72    "der/pem",
73]
74std = [
75    "der/std",
76    "alloc",
77]
78