-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
32 lines (30 loc) · 1.31 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
[package]
name = "cc-server-kit"
version = "0.1.1"
edition = "2021"
[features]
default = ["http3", "acme", "oapi", "utils", "otel"]
http3 = ["salvo/quinn"]
acme = ["salvo/acme"]
cors = ["salvo/cors"]
websocket = ["salvo/websocket"]
otel = ["salvo/otel", "dep:opentelemetry", "dep:opentelemetry-otlp", "dep:opentelemetry_sdk", "dep:tracing-opentelemetry"]
oapi = ["salvo/oapi"]
reqwest-msgpack = ["dep:reqwest"]
cc-auth = ["dep:cc-auth"]
utils = []
[dependencies]
cc-auth = { optional = true, git = "https://github.com/markcda/cc-auth.git" }
cc-utils = { git = "https://github.com/markcda/cc-utils.git", branch = "simplify" }
opentelemetry = { optional = true, version = "0.26" }
opentelemetry-otlp = { optional = true, version = "0.26", features = ["tonic"] }
opentelemetry_sdk = { optional = true, version = "0.26", features = ["rt-tokio"] }
reqwest = { optional = true, git = "https://github.com/markcda/reqwest.git", branch = "msgpack-support", default-features = false, features = ["json", "rustls-tls"] }
salvo = { version = "0.74", features = ["affix-state", "compression", "rustls"] }
serde = { version = "1", features = ["derive"] }
serde_yaml = "0.9"
tokio = { version = "1", features = ["signal"] }
tracing = "0.1"
tracing-appender = "0.2"
tracing-opentelemetry = { optional = true, version = "0.27" }
tracing-subscriber = "0.3"