-
Notifications
You must be signed in to change notification settings - Fork 21
/
Cargo.toml
36 lines (32 loc) · 1.12 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
[package]
name = "aws-nitro-enclaves-cose"
version = "0.5.2"
authors = ["Petre Eftime <[email protected]>"]
edition = "2018"
license = "Apache-2.0"
keywords = ["COSE"]
categories = ["cryptography"]
repository = "https://github.com/awslabs/aws-nitro-enclaves-cose"
description = "This library aims to provide a safe Rust implementation of COSE, with COSE Sign1 currently implemented."
rust-version = "1.68"
[dependencies]
serde_cbor = { version="0.11", features = ["tags"] }
serde_repr = "0.1"
serde_bytes = { version = "0.11", features = ["std"] }
serde_with = { version = "3.3" }
openssl = { version = "0.10", optional = true }
tss-esapi = { version = "7.5.1", optional = true }
aws-sdk-kms = { version = "<=1.20", optional = true }
tokio = { version = "1.20", features = ["rt", "macros"], optional = true }
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dev-dependencies]
hex = "0.4"
aws-config = { version = "<=1.1" }
aws-smithy-runtime = { version = "<=1.2" }
[features]
default = ["key_openssl_pkey"]
key_openssl_pkey = ["openssl"]
key_tpm = ["tss-esapi", "openssl"]
key_kms = ["aws-sdk-kms", "tokio", "key_openssl_pkey"]