aquatic_common: add work-in-progress SO_ATTACH_REUSEPORT_CBPF impl

This commit is contained in:
Joakim Frostegård 2021-11-18 21:56:48 +01:00
parent b5643aa7ab
commit 54149ed3eb
3 changed files with 107 additions and 2 deletions

View file

@ -11,7 +11,7 @@ repository = "https://github.com/greatest-ape/aquatic"
name = "aquatic_common"
[features]
cpu-pinning = ["affinity"]
cpu-pinning = ["affinity", "libc"]
[dependencies]
ahash = "0.7"
@ -25,4 +25,5 @@ privdrop = "0.5"
rand = { version = "0.8", features = ["small_rng"] }
serde = { version = "1", features = ["derive"] }
affinity = { version = "0.1", optional = true }
affinity = { version = "0.1", optional = true }
libc = { version = "0.2", optional = true }