mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-03-31 17:55:36 +00:00
WIP: udp io-uring experiments
This commit is contained in:
parent
f93db6a9f2
commit
c949bde532
4 changed files with 548 additions and 2 deletions
|
|
@ -18,7 +18,7 @@ name = "aquatic_udp"
|
|||
default = ["with-mio"]
|
||||
cpu-pinning = ["aquatic_common/cpu-pinning"]
|
||||
with-glommio = ["cpu-pinning", "glommio", "futures-lite"]
|
||||
with-mio = ["crossbeam-channel", "histogram", "mio", "socket2"]
|
||||
with-mio = ["crossbeam-channel", "histogram", "mio", "socket2", "io-uring", "libc", "bytemuck"]
|
||||
|
||||
[dependencies]
|
||||
anyhow = "1"
|
||||
|
|
@ -32,6 +32,7 @@ mimalloc = { version = "0.1", default-features = false }
|
|||
parking_lot = "0.11"
|
||||
rand = { version = "0.8", features = ["small_rng"] }
|
||||
serde = { version = "1", features = ["derive"] }
|
||||
slab = "0.4"
|
||||
signal-hook = { version = "0.3" }
|
||||
|
||||
# mio
|
||||
|
|
@ -39,6 +40,9 @@ crossbeam-channel = { version = "0.5", optional = true }
|
|||
histogram = { version = "0.6", optional = true }
|
||||
mio = { version = "0.7", features = ["udp", "os-poll", "os-util"], optional = true }
|
||||
socket2 = { version = "0.4.1", features = ["all"], optional = true }
|
||||
io-uring = { version = "0.5", optional = true }
|
||||
libc = { version = "0.2", optional = true }
|
||||
bytemuck = { version = "1", optional = true }
|
||||
|
||||
# glommio
|
||||
glommio = { git = "https://github.com/DataDog/glommio.git", rev = "4e6b14772da2f4325271fbcf12d24cf91ed466e5", optional = true }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue