-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCargo.toml
32 lines (29 loc) · 1020 Bytes
/
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
[package]
name = "cose-rs"
version = "0.1.0"
edition = "2021"
description = "Pure rust implemenation of RFC-8152, using the `Signer` and `Verifier` traits from RustCrypto's `signature` crate to abstract over cryptographic backend."
readme = "README.md"
homepage = "https://github.com/spruceid/cose-rs"
repository = "https://github.com/spruceid/cose-rs"
license = "Apache-2.0"
[features]
default = ["p256", "p384"]
async = ["async-signature"]
time = ["dep:time", "dep:fmul-to-int"]
p256 = ["dep:p256"]
p384 = ["dep:p384"]
[dependencies]
async-signature = { version = "0.3.0", optional = true }
fmul-to-int = { version = "1.0.0", optional = true }
p256 = { version = "0.13.0", optional = true }
p384 = { version = "0.13.0", optional = true }
serde = { version = "1.0", features = ["derive"] }
serde_bytes = "0.11.9"
serde_cbor = { version = "0.11.2", features = ["tags"] }
signature = "2.0"
time = { version = "0.3.32", optional = true }
thiserror = "1.0"
[dev-dependencies]
hex = "0.4.3"
p256 = { version = "0.13.0" }