mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-03-31 17:55:36 +00:00
udp: add io-uring implementation
This commit is contained in:
parent
efbf51ba19
commit
18635bf26c
9 changed files with 37 additions and 19 deletions
|
|
@ -5,7 +5,7 @@ pub mod config;
|
|||
#[cfg(all(feature = "with-glommio", target_os = "linux"))]
|
||||
pub mod glommio;
|
||||
#[cfg(feature = "with-mio")]
|
||||
pub mod mio;
|
||||
pub mod other;
|
||||
|
||||
use config::Config;
|
||||
|
||||
|
|
@ -16,7 +16,7 @@ pub fn run(config: Config) -> ::anyhow::Result<()> {
|
|||
if #[cfg(all(feature = "with-glommio", target_os = "linux"))] {
|
||||
glommio::run(config)
|
||||
} else {
|
||||
mio::run(config)
|
||||
other::run(config)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue