-
Notifications
You must be signed in to change notification settings - Fork 3
/
Cargo.toml
109 lines (95 loc) · 2.48 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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
[package]
name = "ironoxide"
version = "4.0.0"
authors = ["IronCore Labs <[email protected]>"]
readme = "README.md"
license = "AGPL-3.0-only"
repository = "https://github.com/IronCoreLabs/ironoxide"
documentation = "https://docs.rs/ironoxide"
categories = ["cryptography"]
keywords = [
"cryptography",
"proxy-re-encryption",
"PRE",
"ECC",
"transform-encryption",
]
description = "A pure-Rust SDK for accessing IronCore's privacy platform"
edition = "2021"
rust-version = "1.81.0"
[dependencies]
base64 = "0.22"
base64-serde = "0.8"
bytes = "1"
dashmap = "6"
futures = "0.3.1"
hex = "0.4"
ironcore-search-helpers = { version = "0.2", optional = true }
itertools = "0.13"
jsonwebtoken = "9"
lazy_static = "1.4"
log = "0.4"
percent-encoding = "2.1"
protobuf = { version = "3.0", features = ["with-bytes"] }
quick-error = "2"
rand = "0.8"
rand_chacha = "0.3"
recrypt = "0.13"
regex = "1.4"
reqwest = { version = "0.12", features = ["json"], default-features = false }
ring = { version = "0.17", features = ["std"] }
serde = { version = "1.0.126", features = ["derive"] }
serde_json = "1"
time = { version = "0.3.6", features = [
"std",
"serde-human-readable",
"serde-well-known",
"parsing",
] }
tokio = { version = "1", features = ["time"] }
url = "2.2"
vec1 = "1.6"
[dev-dependencies]
anyhow = "1"
criterion = "0.5"
double = "0.2.4"
galvanic-assert = "0.8"
mut_static = "5"
tokio = { version = "1", features = ["macros", "rt-multi-thread"] }
uuid = { version = "1.0", features = ["v4"], default-features = false }
[build-dependencies]
itertools = "0.13"
protobuf-codegen = "3.0"
[features]
beta = ["ironcore-search-helpers"]
blocking = []
# NOTE: ironoxide requires a TLS implementation. Choose one of the following
# enable to use statically compiled openssl on supported OpenSSL platforms; use with 'default-features = false'
tls-vendored-openssl = ["reqwest/native-tls-vendored"]
# enable to use rustls-tls; use with 'default-features = false'
tls-rustls = ["reqwest/rustls-tls"]
# dynamically use the target platform's native TLS
tls-default = ["reqwest/default-tls"]
default = ["tls-default", "tokio/rt-multi-thread"]
[profile.dev]
opt-level = 2
debug = true
[profile.test]
opt-level = 2
debug = true
[profile.release]
opt-level = 3
debug = false
lto = true
[[example]]
name = "enc-search-sample"
required-features = ["beta"]
[[example]]
name = "encrypting"
[[example]]
name = "decrypting"
[[bench]]
name = "ironoxide_bench"
harness = false
[package.metadata.docs.rs]
all-features = true