-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCargo.toml
48 lines (45 loc) · 1.69 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
[package]
name = "speculare-pgcdc"
version = "0.1.1"
authors = ["Martichou <[email protected]>"]
edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
sproot = { git = "https://github.com/speculare-cloud/sproot" }
async-trait = "0.1"
axum = { version = "0.7", features = ["ws", "http1", "http2"] }
axum-extra = { version = "0.9", features = ["cookie-signed"], optional = true}
axum-server = { version = "0.7", features = ["tls-rustls"] }
bastion = "0.4"
bastion-executor = { version = "0.4", features = ["tokio-runtime"] }
bytes = "1.2"
byteorder = "1.4"
clap = { version = "4.2", features = ["derive"] }
clap-verbosity-flag = "2.0"
config = { version = "0.14", features = ["toml"] }
diesel = { version = "2.0", features = ["postgres", "r2d2", "chrono"], optional = true }
futures = "0.3"
log = "0.4"
moka = { version = "0.12", features = ["sync"], optional = true }
once_cell = "1.14"
openssl = "0.10"
postgres-openssl = { git = "https://github.com/Martichou/rust-postgres", branch = "dev" }
r2d2 = "0.8"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
simd-json = "0.14"
tokio-postgres = { git = "https://github.com/Martichou/rust-postgres", branch = "dev" }
tokio = { version = "1", features = ["macros", "rt-multi-thread"] }
tokio-stream = "0.1"
tower-http = { version = "0.6", features = ["trace"] }
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
uuid-readable-rs = "0.1"
uuid = { version = "1.10", features = ["v4"], optional = true }
[features]
default = ["timescale"]
auth = ["moka", "uuid", "diesel", "axum-extra"]
timescale = []
[profile.release]
lto = true
opt-level = 3
codegen-units = 1