-
Notifications
You must be signed in to change notification settings - Fork 23
/
Cargo.toml
72 lines (62 loc) · 1.9 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
[package]
name = "recrypt"
version = "0.13.1"
authors = ["IronCore Labs <[email protected]>"]
readme = "README.md"
license = "AGPL-3.0-only"
repository = "https://github.com/IronCoreLabs/recrypt-rs"
documentation = "https://docs.rs/recrypt"
categories = ["cryptography", "algorithms"]
keywords = ["cryptography", "proxy-re-encryption", "PRE", "ECC", "transform-encryption"]
description = "A pure-Rust implementation of Transform Encryption, a Proxy Re-encryption scheme"
edition = "2021"
rust-version = "1.60.0"
[target.'cfg(all(unix, not(target_arch = "wasm32")))'.dependencies]
libc = {version = "0.2"}
[target.'cfg(all(windows, not(target_arch = "wasm32")))'.dependencies]
winapi = {version = "0.3", features = ["memoryapi", "sysinfoapi"]}
[dependencies]
cfg-if = "1"
clear_on_drop = "0.2"
derivative = "2.1"
# Disable all features for ed25519 and enable the proper ones down in the [features] section below
ed25519-dalek = {version = "=0.1.0", default-features = false, features = ["std"], package = "ed25519-dalek-fiat"}
# Explicit dependency so we can pass the wasm-bindgen flag to it
getrandom = {version = "0.2", optional = true}
gridiron = "0.10"
hex = "0.4"
lazy_static = "1.4"
log = "0.4"
num-traits = "0.2"
quick-error = "2"
rand = "0.8"
rand_chacha = "0.3"
sha2 = "0.10"
[dev-dependencies]
criterion = "0.4"
proptest = "1"
serde_json = "1"
[profile.dev]
opt-level = 2
debug = true
[profile.test]
opt-level = 2
debug = true
[profile.release]
opt-level = 3
debug = false
lto = true
[features]
default = ["u64_backend"]
u64_backend = ["ed25519-dalek/u64_backend"]
u32_backend = ["ed25519-dalek/u32_backend"]
wasm = ["u32_backend", "clear_on_drop/no_cc", "getrandom/js"]
#Can be used to disable the automatic mlock detection for architectures.
disable_memlock = []
[[bench]]
name = "api_benchmark"
harness = false
# disable libtest benches
# workaround for https://github.com/rust-lang/rust/issues/47241
[lib]
bench = false