mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-03-31 17:55:36 +00:00
aquatic_common: feature-gate cpu pinning, remove hwloc feature
This commit is contained in:
parent
1acf44c001
commit
437f2def7d
11 changed files with 13 additions and 215 deletions
|
|
@ -15,6 +15,8 @@ name = "aquatic_common"
|
|||
[features]
|
||||
rustls = ["dep:rustls", "rustls-pemfile"]
|
||||
prometheus = ["dep:metrics", "dep:metrics-util", "dep:metrics-exporter-prometheus", "dep:tokio"]
|
||||
# Experimental CPU pinning support. Requires hwloc (apt-get install libhwloc-dev)
|
||||
cpu-pinning = ["dep:hwloc"]
|
||||
|
||||
[dependencies]
|
||||
aquatic_toml_config.workspace = true
|
||||
|
|
@ -45,6 +47,5 @@ metrics-util = { version = "0.16", optional = true }
|
|||
metrics-exporter-prometheus = { version = "0.13", optional = true, default-features = false, features = ["http-listener"] }
|
||||
tokio = { version = "1", optional = true, features = ["rt", "net", "time"] }
|
||||
|
||||
# other optional
|
||||
glommio = { version = "0.8", optional = true }
|
||||
# cpu pinning feature
|
||||
hwloc = { version = "0.5", optional = true }
|
||||
Loading…
Add table
Add a link
Reference in a new issue