1[package] 2name = "crypto_provider" 3version.workspace = true 4edition.workspace = true 5publish.workspace = true 6 7[dependencies] 8hex-literal = { workspace = true, optional = true } 9rand = { workspace = true, optional = true } 10rstest = { version = "0.16.0", optional = true } 11rstest_reuse = { version = "0.5.0", optional = true } 12wycheproof = { version = "0.4.0", optional = true } 13hex = { workspace = true, optional = true } 14test_helper = { workspace = true, optional = true } 15 16[dev-dependencies] 17crypto_provider_openssl.workspace = true 18crypto_provider_rustcrypto.workspace = true 19wycheproof = "0.4.0" 20hex-literal.workspace = true 21sha2.workspace = true 22criterion.workspace = true 23rand_ext.workspace = true 24hex.workspace = true 25 26[features] 27default = ["alloc", "gcm_siv"] 28std = [] 29alloc = [] 30gcm_siv = [] 31testing = [ 32 "dep:hex-literal", 33 "dep:rstest", 34 "dep:rstest_reuse", 35 "dep:wycheproof", 36 "dep:test_helper", 37 "std", 38 "rand", 39 "rand/std", 40 "rand/std_rng", 41 "dep:hex", 42] 43 44[[bench]] 45name = "hmac_bench" 46harness = false 47 48[[bench]] 49name = "hkdf_bench" 50harness = false 51 52[[bench]] 53name = "constant_time_eq_bench" 54harness = false 55