#io-uring #bindings #lto #optional #build #uring-ffi

sys liburing2-sys

liburing bindings with optional LTO

3 releases (breaking)

0.3.0+f4e42a5 Jan 10, 2024
0.2.0+f4e42a5 Dec 26, 2023
0.1.0+f4e42a5 Dec 25, 2023

#1485 in Network programming

46 downloads per month

MIT license

1MB
34K SLoC

C 34K SLoC // 0.1% comments Shell 188 SLoC // 0.2% comments RPM Specfile 55 SLoC Rust 43 SLoC C++ 32 SLoC // 0.1% comments

liburing bindings with optional LTO

requirements: apt install make clang lld llvm-dev libclang-dev

witout LTO: cargo build

with LTO: RUSTFLAGS="-Clinker-plugin-lto -Clinker=clang -Clink-arg=-fuse-ld=lld" cargo build

Dependencies

~0–1.8MB
~36K SLoC