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 = "sec1" 16version = "0.3.0" 17authors = ["RustCrypto Developers"] 18description = """ 19Pure Rust implementation of SEC1: Elliptic Curve Cryptography encoding formats 20including ASN.1 DER-serialized private keys as well as the 21Elliptic-Curve-Point-to-Octet-String encoding 22""" 23readme = "README.md" 24keywords = [ 25 "crypto", 26 "key", 27 "elliptic-curve", 28 "secg", 29] 30categories = [ 31 "cryptography", 32 "data-structures", 33 "encoding", 34 "no-std", 35 "parser-implementations", 36] 37license = "Apache-2.0 OR MIT" 38repository = "https://github.com/RustCrypto/formats/tree/master/sec1" 39resolver = "2" 40 41[package.metadata.docs.rs] 42all-features = true 43rustdoc-args = [ 44 "--cfg", 45 "docsrs", 46] 47 48[dependencies.base16ct] 49version = "0.1.1" 50optional = true 51default-features = false 52 53[dependencies.der] 54version = "0.6" 55features = ["oid"] 56optional = true 57 58[dependencies.generic-array] 59version = "0.14.4" 60optional = true 61default-features = false 62 63[dependencies.pkcs8] 64version = "0.9" 65optional = true 66default-features = false 67 68[dependencies.serdect] 69version = "0.1" 70features = ["alloc"] 71optional = true 72default-features = false 73 74[dependencies.subtle] 75version = "2" 76optional = true 77default-features = false 78 79[dependencies.zeroize] 80version = "1" 81optional = true 82default-features = false 83 84[dev-dependencies.hex-literal] 85version = "0.3" 86 87[dev-dependencies.tempfile] 88version = "3" 89 90[features] 91alloc = [ 92 "der/alloc", 93 "pkcs8/alloc", 94 "zeroize/alloc", 95] 96default = [ 97 "der", 98 "point", 99] 100pem = [ 101 "alloc", 102 "der/pem", 103 "pkcs8/pem", 104] 105point = [ 106 "base16ct", 107 "generic-array", 108] 109serde = ["serdect"] 110std = [ 111 "der/std", 112 "alloc", 113] 114