Modern-Apps.git
Publicgit clone https://git.maproj.org/Modern-Apps.gitModern-Apps.git / third_party / betocore / crypto_provider_rustcrypto / Cargo.toml
Cargo.toml52 lines · 1.2 KiBRaw
| 1 | [package] |
| 2 | name = "crypto_provider_rustcrypto" |
| 3 | version.workspace = true |
| 4 | edition.workspace = true |
| 5 | publish.workspace = true |
| 6 | license.workspace = true |
| 7 | |
| 8 | [lints] |
| 9 | workspace = true |
| 10 | |
| 11 | [dependencies] |
| 12 | aead.workspace = true |
| 13 | aes-gcm-siv = { workspace = true, features = [ |
| 14 | "aes", |
| 15 | ], default-features = false } |
| 16 | aes-gcm = { workspace = true, features = ["aes"] } |
| 17 | crypto_provider = { workspace = true } |
| 18 | hmac.workspace = true |
| 19 | hkdf.workspace = true |
| 20 | sha2.workspace = true |
| 21 | x25519-dalek.workspace = true |
| 22 | p256 = { workspace = true, features = [ |
| 23 | "ecdh", |
| 24 | "ecdsa", |
| 25 | ], default-features = false } |
| 26 | sec1.workspace = true |
| 27 | ed25519-dalek = { workspace = true, default-features = false, features = [ |
| 28 | "rand_core", |
| 29 | ] } |
| 30 | rand = { workspace = true } |
| 31 | rand_core.workspace = true |
| 32 | subtle.workspace = true |
| 33 | aes.workspace = true |
| 34 | ctr.workspace = true |
| 35 | cbc.workspace = true |
| 36 | cfg-if.workspace = true |
| 37 | rand_chacha = { workspace = true, default-features = false, optional = true } |
| 38 | |
| 39 | [dev-dependencies] |
| 40 | hex.workspace = true |
| 41 | |
| 42 | [features] |
| 43 | default = ["alloc", "rand_chacha"] |
| 44 | std = [ |
| 45 | "alloc", |
| 46 | "ed25519-dalek/default", |
| 47 | "rand/std", |
| 48 | "rand/std_rng", |
| 49 | "crypto_provider/std", |
| 50 | "crypto_provider/alloc", |
| 51 | ] |
| 52 | alloc = ["aead/bytes", "aead/alloc", "cbc/alloc", "crypto_provider/alloc"] |