-
Notifications
You must be signed in to change notification settings - Fork 4
/
Cargo.toml
42 lines (37 loc) · 1.38 KB
/
Cargo.toml
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
39
40
41
42
[package]
name = "p256-cortex-m4"
description = "Idiomatic, misuse-resistent bindings to P256-Cortex-M4"
version = "0.1.0-alpha.6"
authors = ["Nicolas Stalder <n@stalder.io>"]
edition = "2021"
license = "MIT"
readme = "README.md"
categories = ["embedded", "no-std", "cryptography"]
keywords = ["no-std", "nist", "cryptography", "signatures", "cortex-m"]
repository = "https://github.com/ycrypto/p256-cortex-m4"
[package.metadata.docs.rs]
targets = ["thumbv7em-none-eabi"]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[dependencies]
der = { version = "0.7.8", features = ["derive"], optional = true }
ecdsa = { version = "0.16.9", default-features = false, optional = true }
elliptic-curve = { version = "0.13", default-features = false, optional = true }
p256-cortex-m4-sys = "0.1.0-alpha.2"
rand_core = { version = "0.6", default-features = false }
sha2 = { version = "0.10", default-features = false, optional = true }
zeroize = { version = "1.2.0", default-features = false, features = ["zeroize_derive"] }
[dependencies.p256]
version = "0.13"
default-features = false
features = ["arithmetic", "ecdh", "ecdsa", "sha256"]
optional = true
[features]
default = ["non-cortex-m4-fallback"]
sec1-signatures = ["der"]
prehash = ["sha2"]
non-cortex-m4-fallback = ["ecdsa", "elliptic-curve", "p256"]
[dev-dependencies]
hex-literal = "0.4.1"
rand = "0.8.5"
p256 = { version = "0.13", features = ["std"] }