mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-03-31 17:55:36 +00:00
udp, ws: auto-enable cpu-pinning feature when running with glommio
This commit is contained in:
parent
321add8455
commit
af8b776937
2 changed files with 2 additions and 2 deletions
|
|
@ -17,7 +17,7 @@ name = "aquatic_udp"
|
|||
[features]
|
||||
default = ["with-mio"]
|
||||
cpu-pinning = ["aquatic_common/cpu-pinning"]
|
||||
with-glommio = ["glommio", "futures-lite"]
|
||||
with-glommio = ["cpu-pinning", "glommio", "futures-lite"]
|
||||
with-mio = ["crossbeam-channel", "histogram", "mio", "socket2"]
|
||||
|
||||
[dependencies]
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ path = "src/bin/main.rs"
|
|||
[features]
|
||||
default = ["with-mio"]
|
||||
cpu-pinning = ["aquatic_common/cpu-pinning"]
|
||||
with-glommio = ["async-tungstenite", "futures-lite", "futures", "futures-rustls", "glommio", "rustls-pemfile"]
|
||||
with-glommio = ["cpu-pinning", "async-tungstenite", "futures-lite", "futures", "futures-rustls", "glommio", "rustls-pemfile"]
|
||||
with-mio = ["crossbeam-channel", "histogram", "mio", "native-tls", "parking_lot", "socket2"]
|
||||
|
||||
[dependencies]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue