-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
68 lines (55 loc) · 1.39 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
[package]
name = "occlum-ratls"
version = "0.4.5"
edition = "2021"
authors = ["Ivan Chirkin <chirkin.ivan@gmail.com>"]
description = "Lib for remote attestation between occlum instances"
license = "MIT OR Apache-2.0"
repository = "https://github.com/aggregion/occlum-ratls"
keywords = ["occlum", "rustls", "ratls"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
x509-parser = "0.15.0"
rustls = { version = "0.21.10", features = [
"dangerous_configuration",
"logging",
] }
log = "0.4.17"
rcgen = "0.12.1"
occlum-sgx = "^0.1.12"
ring = "0.17.8"
[dependencies.actix-web]
version = "4.3.1"
features = ["rustls"]
optional = true
[dependencies.actix-http]
version = "3.3"
features = ["http2", "ws"]
optional = true
[dependencies.actix-service]
version = "2"
optional = true
[dependencies.reqwest]
version = "=0.11.16"
features = ["__rustls"]
optional = true
[dev-dependencies.env_logger]
version = "0.10.0"
[dev-dependencies.tokio]
version = "1"
features = ["full"]
[dev-dependencies.cargo-husky]
version = "1"
default-features = false
features = ["precommit-hook", "run-cargo-test", "run-cargo-clippy"]
[features]
default = []
occlum = []
reqwest = ["dep:reqwest"]
actix-web = ["dep:actix-web", "actix-service", "actix-http"]
[[example]]
name = "server"
required-features = ["actix-web"]
[[example]]
name = "client"
required-features = ["reqwest"]