-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
35 lines (33 loc) · 1.41 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
[package]
name = "cc-server-kit"
version = "0.2.4"
edition = "2024"
[features]
default = ["http3", "acme", "oapi", "cc-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"]
proxy = ["salvo/proxy", "reqwest/stream"]
reqwest-msgpack = ["dep:reqwest"]
reqwest-http3 = ["reqwest/http3"]
cc-auth = ["dep:cc-auth"]
cc-utils = []
log-without-filtering = []
[dependencies]
cc-auth = { optional = true, git = "https://github.com/markcda/cc-auth.git" }
cc-utils = { git = "https://github.com/markcda/cc-utils.git", tag = "0.5.4" }
opentelemetry = { optional = true, version = "0.27" }
opentelemetry-otlp = { optional = true, version = "0.27", features = ["tonic"] }
opentelemetry_sdk = { optional = true, version = "0.27", 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.76", 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.28" }
tracing-subscriber = "0.3"