@@ -10,6 +10,17 @@ keywords = ["cryptography", "tink", "testing"]
1010categories = [" cryptography" ]
1111publish = false
1212
13+ [features ]
14+ default = [" kms" ]
15+ # The `tink-awskms` crates indirectly depend on OpenSSL, which cannot be linked at the
16+ # same time as BoringSSL. Switch to BoringSSL mode with
17+ # --no-default-features --features boringssl
18+ #
19+ # Note that this means that the features of this crate are *not* additive; turning on
20+ # --all-features results in link failures.
21+ boringssl = [" tink-daead/boringssl" ]
22+ kms = [" tink-awskms" , " tink-gcpkms" ]
23+
1324[dependencies ]
1425base64 = " ^0.13"
1526ed25519-dalek = " ^1.0.1"
@@ -21,9 +32,11 @@ rand = "^0.7"
2132regex = " ^1.5.4"
2233serde = { version = " ^1.0.126" , features = [" derive" ] }
2334serde_json = " ^1.0.64"
24- tink-core = { version = " ^0.2" , features = [" insecure" , " json" ] }
2535tink-aead = " ^0.2"
36+ tink-awskms = { version = " ^0.2" , optional = true }
37+ tink-core = { version = " ^0.2" , features = [" insecure" , " json" ] }
2638tink-daead = " ^0.2"
39+ tink-gcpkms = { version = " ^0.2" , optional = true }
2740tink-mac = " ^0.2"
2841tink-proto = " ^0.2"
2942
@@ -34,10 +47,11 @@ lazy_static = "^1.4"
3447maplit = " ^1.0.2"
3548tempfile = " ^3.2"
3649tink-aead = " ^0.2"
37- tink-awskms = " ^0.2"
3850tink-daead = " ^0.2"
39- tink-gcpkms = " ^0.2"
4051tink-mac = " ^0.2"
4152tink-prf = " ^0.2"
4253tink-signature = " ^0.2"
4354tink-streaming-aead = " ^0.2"
55+
56+ [package .metadata .cargo-udeps .ignore ]
57+ normal = [" tink-awskms" , " tink-gcpkms" ]
0 commit comments