-
Notifications
You must be signed in to change notification settings - Fork 2
/
Cargo.toml
85 lines (76 loc) · 2.17 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
[package]
name = "stacker"
version = "0.1.0"
edition = "2021"
default-run= "server"
[lib]
path="src/lib.rs"
[[bin]]
path = "src/main.rs"
name = "server"
[[bin]]
path = "src/console/main.rs"
name = "console"
required-features = ["explain"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
actix-web = "4.3.1"
chrono = { version = "0.4.29", features = ["time", "serde"] }
config = "0.13.4"
reqwest = { version = "0.11.23", features = ["json", "blocking"] }
serde = { version = "1.0.195", features = ["derive"] }
tokio = { version = "1.28.1", features = ["full"] }
tracing = { version = "0.1.40", features = ["log"] }
tracing-bunyan-formatter = "0.3.8"
tracing-log = "0.1.4"
tracing-subscriber = { version = "0.3.18", features = ["registry", "env-filter"] }
uuid = { version = "1.3.4", features = ["v4", "serde"] }
thiserror = "1.0"
serde_valid = "0.18.0"
serde_json = { version = "1.0.111", features = [] }
serde_derive = "1.0.195"
actix-cors = "0.6.4"
tracing-actix-web = "0.7.7"
regex = "1.10.2"
rand = "0.8.5"
futures-util = "0.3.29"
futures = "0.3.29"
tokio-stream = "0.1.14"
actix-http = "3.4.0"
hmac = "0.12.1"
sha2 = "0.10.8"
sqlx-adapter = { version = "1.0.0", default-features = false, features = ["postgres", "runtime-tokio-native-tls"]}
# dctypes
derive_builder = "0.12.0"
indexmap = { version = "2.0.0", features = ["serde"], optional = true }
serde_yaml = "0.9"
lapin = { version = "2.3.1", features = ["serde_json"] }
futures-lite = "2.2.0"
clap = { version = "4.4.8", features = ["derive"] }
brotli = "3.4.0"
serde_path_to_error = "0.1.14"
deadpool-lapin = "0.11.0"
docker-compose-types = "0.7.0"
actix-casbin-auth = { git = "https://github.com/casbin-rs/actix-casbin-auth.git"}
casbin = "2.2.0"
aes-gcm = "0.10.3"
base64 = "0.22.0"
redis = { version = "0.25.2", features = ["tokio-comp"] }
[dependencies.sqlx]
version = "0.6.3"
features = [
'runtime-actix-rustls',
"postgres",
"uuid",
"tls",
"chrono",
"json",
"offline"
]
[features]
default = ["indexmap"]
indexmap = ["dep:indexmap"]
explain = ["actix-casbin-auth/explain", "actix-casbin-auth/logging"]
[dev-dependencies]
glob = "0.3"
wiremock = "0.5.22"