[[bench]]
harness = false
name = "comparative_benchmarks"
path = "benches/comparative_benchmarks_main.rs"
[[bench]]
name = "orphan_tracker_contention"
path = "benches/orphan_tracker_contention.rs"
[[bench]]
harness = false
name = "simple_benchmarks"
path = "benches/simple_benchmarks.rs"
[[bench]]
name = "simple_orphan_contention"
path = "benches/simple_orphan_contention.rs"
[dependencies.libc]
version = "0.2"
[dependencies.num_cpus]
version = "1.16"
[dependencies.pin-project]
version = "1.1"
[dependencies.static_assertions]
version = "1.1"
[dependencies.thiserror]
version = "1.0"
[dependencies.tokio]
features = ["rt", "rt-multi-thread", "net", "fs", "io-util", "macros"]
version = "1.0"
[dev-dependencies.chrono]
features = ["serde"]
version = "0.4"
[dev-dependencies.criterion]
features = ["html_reports"]
version = "0.5"
[dev-dependencies.futures]
version = "0.3"
[dev-dependencies.jemallocator]
version = "0.5"
[dev-dependencies.loom]
version = "0.7"
[dev-dependencies.num_cpus]
version = "1.16"
[dev-dependencies.pprof]
features = ["criterion", "flamegraph"]
version = "0.14"
[dev-dependencies.proptest]
version = "1.4"
[dev-dependencies.static_assertions]
version = "1.1"
[dev-dependencies.tempfile]
version = "3.8"
[dev-dependencies.tokio-test]
version = "0.4"
[dev-dependencies.trybuild]
version = "1.0"
[[example]]
name = "advanced_features_demo"
path = "examples/advanced_features_demo.rs"
[[example]]
name = "async_demo"
path = "examples/async_demo.rs"
[[example]]
name = "buffer_pool_demo"
path = "examples/buffer_pool_demo.rs"
[[example]]
name = "completion_demo"
path = "examples/completion_demo.rs"
[[example]]
name = "echo_server_main"
path = "examples/echo_server_main.rs"
[[example]]
name = "file_copy"
path = "examples/file_copy.rs"
[[example]]
name = "https_server_simple"
path = "examples/https_server_simple.rs"
[[example]]
name = "performance_demo"
path = "examples/performance_demo.rs"
[[example]]
name = "registry_demo"
path = "examples/registry_demo.rs"
[[example]]
name = "safer_ring_demo"
path = "examples/safer_ring_demo.rs"
[features]
default = []
unstable = []
[lib]
name = "safer_ring"
path = "src/lib.rs"
[lints.rust.unexpected_cfgs]
check-cfg = ["cfg(loom)"]
level = "warn"
priority = 0
[package]
authors = ["whit3rabbit"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["asynchronous", "network-programming", "filesystem"]
description = "A safe Rust wrapper around io_uring with zero-cost abstractions and compile-time memory safety guarantees"
documentation = "https://docs.rs/safer-ring"
edition = "2021"
exclude = ["docs/*", "scripts/*", ".github/*", ".gitignore", ".claude", "repomix-output.xml", "TODO.md", ".kiro/*"]
homepage = "https://github.com/whit3rabbit/safer-ring"
keywords = ["io-uring", "async", "io", "performance", "safety"]
license = "MIT OR Apache-2.0"
name = "safer-ring"
readme = "README.md"
repository = "https://github.com/whit3rabbit/safer-ring"
version = "0.0.1"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[target.'cfg(not(target_os = "linux"))'.dependencies]
[target.'cfg(target_os = "linux")'.dependencies.io-uring]
version = "0.7.10"
[[test]]
name = "backend_tests"
path = "tests/backend_tests.rs"
[[test]]
name = "batch_lifetime_fix_demo"
path = "tests/batch_lifetime_fix_demo.rs"
[[test]]
name = "batch_operations"
path = "tests/batch_operations.rs"
[[test]]
name = "batch_unit_tests"
path = "tests/batch_unit_tests.rs"
[[test]]
name = "buffer_ownership_fix_test"
path = "tests/buffer_ownership_fix_test.rs"
[[test]]
name = "compile_fail"
path = "tests/compile_fail.rs"
[[test]]
name = "comprehensive_safety_tests"
path = "tests/comprehensive_safety_tests.rs"
[[test]]
name = "loom_concurrency"
path = "tests/loom_concurrency.rs"
[[test]]
name = "memory_leak_detection"
path = "tests/memory_leak_detection.rs"
[[test]]
name = "network_operations"
path = "tests/network_operations.rs"
[[test]]
name = "new_features_stress_test"
path = "tests/new_features_stress_test.rs"
[[test]]
name = "new_safety_features_tests"
path = "tests/new_safety_features_tests.rs"
[[test]]
name = "proptest_buffer_lifecycle"
path = "tests/proptest_buffer_lifecycle.rs"
[[test]]
name = "run_safety_tests"
path = "tests/run_safety_tests.rs"
[[test]]
name = "simple_batch_tests"
path = "tests/simple_batch_tests.rs"
[[test]]
name = "standalone_batch_tests"
path = "tests/standalone_batch_tests.rs"
[[test]]
name = "stress_tests"
path = "tests/stress_tests.rs"