• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1[package]
2name = "sec1"
3version = "0.3.0"
4description = """
5Pure Rust implementation of SEC1: Elliptic Curve Cryptography encoding formats
6including ASN.1 DER-serialized private keys as well as the
7Elliptic-Curve-Point-to-Octet-String encoding
8"""
9authors = ["RustCrypto Developers"]
10license = "Apache-2.0 OR MIT"
11repository = "https://github.com/RustCrypto/formats/tree/master/sec1"
12categories = ["cryptography", "data-structures", "encoding", "no-std", "parser-implementations"]
13keywords = ["crypto", "key", "elliptic-curve", "secg"]
14readme = "README.md"
15edition = "2021"
16rust-version = "1.57"
17
18[dependencies]
19base16ct = { version = "0.1.1", optional = true, default-features = false, path = "../base16ct" }
20der = { version = "0.6", optional = true, features = ["oid"], path = "../der" }
21generic-array = { version = "0.14.4", optional = true, default-features = false }
22pkcs8 = { version = "0.9", optional = true, default-features = false, path = "../pkcs8" }
23serdect = { version = "0.1", optional = true, default-features = false, features = ["alloc"], path = "../serdect" }
24subtle = { version = "2", optional = true, default-features = false }
25zeroize = { version = "1", optional = true, default-features = false }
26
27[dev-dependencies]
28hex-literal = "0.3"
29tempfile = "3"
30
31[features]
32default = ["der", "point"]
33alloc = ["der/alloc", "pkcs8/alloc", "zeroize/alloc"]
34pem = ["alloc", "der/pem", "pkcs8/pem"]
35point = ["base16ct", "generic-array"]
36serde = ["serdect"]
37std = ["der/std", "alloc"]
38
39[package.metadata.docs.rs]
40all-features = true
41rustdoc-args = ["--cfg", "docsrs"]
42