feat: add tokio-cpu-affinity

This commit is contained in:
2024-03-24 11:32:07 +08:00
parent a3c45895e1
commit 31ba44c45e
4 changed files with 530 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
[package]
name = "tokio-cpu-affinity"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
core_affinity = "0.8.1"
tokio = { version = "1.36.0", features = ["full"] }