-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathCargo.toml
58 lines (54 loc) · 1.96 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
[package]
name = "colink"
version = "0.3.10"
edition = "2021"
description = "CoLink Rust SDK"
license = "MIT"
readme = "README.md"
homepage = "https://github.com/CoLearn-Dev"
documentation = "https://docs.rs/colink"
repository = "https://github.com/CoLearn-Dev/colink-sdk-rust-dev"
[dependencies]
async-recursion = { version = "1.0", optional = true }
async-trait = "0.1"
base64 = "0.13"
chrono = "0.4"
clap = { version = "4.3", features = ["derive", "env"] }
futures-lite = "1.13"
hyper = { version = "0.14", optional = true }
hyper-rustls = { version = "0.24", optional = true }
jsonwebtoken = { version = "7.2", optional = true }
lapin = "2.2"
prost = "0.11"
rand = { version = "0.8", features = ["std_rng"] }
rcgen = { version = "0.10", optional = true }
rdbc2 = { version = "0.2.2", optional = true }
redis = { version = "0.23", features = ["tokio-rustls-comp"] }
reqwest = { version = "0.11", default-features = false, features = ["rustls-tls-native-roots"], optional = true }
secp256k1 = { version = "0.27", features = ["rand-std"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
sha2 = "0.10"
tokio = { version = "1.28", features = ["macros", "rt-multi-thread", "rt", "fs"] }
tokio-rustls = { version = "0.24", optional = true }
tonic = { version = "0.9", features = ["tls", "tls-roots"] }
tracing = "0.1"
tracing-subscriber = "0.2"
url = "2.2"
uuid = { version = "0.8", features = ["v4"] }
[build-dependencies]
prost-build = "0.11"
tonic-build = "0.9"
[features]
default = ["extensions", "remote_storage", "variable_transfer", "registry", "policy_module", "instant_server", "storage_macro"]
extensions = []
remote_storage = ["extensions"]
variable_transfer = ["extensions", "remote_storage", "hyper", "jsonwebtoken", "rcgen", "tokio-rustls", "hyper-rustls"]
registry = []
policy_module = []
instant_server = ["reqwest"]
storage_macro = ["async-recursion"]
storage_macro_dbc = ["rdbc2"]
[[test]]
name = "test_storage_macro_dbc"
required-features = ["storage_macro_dbc"]