mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-03-31 17:55:36 +00:00
http: quit if any worker thread quits
This commit is contained in:
parent
4ca73630c4
commit
d7e06468c3
8 changed files with 151 additions and 145 deletions
|
|
@ -19,11 +19,11 @@ name = "aquatic_http"
|
|||
|
||||
[features]
|
||||
default = ["prometheus"]
|
||||
prometheus = ["metrics", "metrics-exporter-prometheus"]
|
||||
prometheus = ["aquatic_common/prometheus", "metrics"]
|
||||
metrics = ["dep:metrics"]
|
||||
|
||||
[dependencies]
|
||||
aquatic_common = { workspace = true, features = ["rustls", "glommio"] }
|
||||
aquatic_common = { workspace = true, features = ["rustls"] }
|
||||
aquatic_http_protocol.workspace = true
|
||||
aquatic_toml_config.workspace = true
|
||||
|
||||
|
|
@ -40,8 +40,6 @@ httparse = "1"
|
|||
itoa = "1"
|
||||
libc = "0.2"
|
||||
log = "0.4"
|
||||
metrics = { version = "0.22", optional = true }
|
||||
metrics-exporter-prometheus = { version = "0.13", optional = true, default-features = false, features = ["http-listener"] }
|
||||
mimalloc = { version = "0.1", default-features = false }
|
||||
memchr = "2"
|
||||
privdrop = "0.5"
|
||||
|
|
@ -54,6 +52,9 @@ slotmap = "1"
|
|||
socket2 = { version = "0.5", features = ["all"] }
|
||||
thiserror = "1"
|
||||
|
||||
# metrics feature
|
||||
metrics = { version = "0.22", optional = true }
|
||||
|
||||
[dev-dependencies]
|
||||
quickcheck = "1"
|
||||
quickcheck_macros = "1"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue