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.65" 15name = "sec1" 16version = "0.7.3" 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" 39 40[package.metadata.docs.rs] 41all-features = true 42rustdoc-args = [ 43 "--cfg", 44 "docsrs", 45] 46 47[dependencies.base16ct] 48version = "0.2" 49optional = true 50default-features = false 51 52[dependencies.der] 53version = "0.7" 54features = ["oid"] 55optional = true 56 57[dependencies.generic-array] 58version = "0.14.7" 59optional = true 60default-features = false 61 62[dependencies.pkcs8] 63version = "0.10" 64optional = true 65default-features = false 66 67[dependencies.serdect] 68version = "0.2" 69features = ["alloc"] 70optional = true 71default-features = false 72 73[dependencies.subtle] 74version = "2" 75optional = true 76default-features = false 77 78[dependencies.zeroize] 79version = "1" 80optional = true 81default-features = false 82 83[dev-dependencies.hex-literal] 84version = "0.4" 85 86[dev-dependencies.tempfile] 87version = "3" 88 89[features] 90alloc = [ 91 "der?/alloc", 92 "pkcs8?/alloc", 93 "zeroize?/alloc", 94] 95default = [ 96 "der", 97 "point", 98] 99der = [ 100 "dep:der", 101 "zeroize", 102] 103pem = [ 104 "alloc", 105 "der/pem", 106 "pkcs8/pem", 107] 108point = [ 109 "dep:base16ct", 110 "dep:generic-array", 111] 112serde = ["dep:serdect"] 113std = [ 114 "alloc", 115 "der?/std", 116] 117zeroize = [ 118 "dep:zeroize", 119 "der?/zeroize", 120] 121