mirror of
https://gitee.com/fantix/kloop.git
synced 2026-02-06 19:10:56 +00:00
No description
| .github/workflows | ||
| docs | ||
| src | ||
| tests | ||
| .gitignore | ||
| Cargo.lock | ||
| Cargo.toml | ||
| LICENSE.Apache-2.0 | ||
| LICENSE.MulanPSL-2.0 | ||
| pyproject.toml | ||
| README.md | ||
| README.zh.md | ||
kLoop
High-performance Python asyncio alternative event loop powered by Rust's
compio library. "k" as in "completion"
reflecting that compio drives completion-based I/O, or "k" as in "kernel"
reflecting Linux kernel features like io_uring and kTLS.
⚠️WARNING: THIS PROJECT IS IN PROOF-OF-CONCEPT STAGE!⚠️
Development
Setup
Install dependencies (only needed once):
uv sync
Or switch to enable logging support:
MATURIN_PEP517_ARGS="--features enable_log" uv sync --reinstall-package kloop
Testing
Run the test suite:
cargo test
uv run -m unittest -v
If enable_log feature is on, you can set RUST_LOG environment variable to see debug/tracing logs.
License
Licensed under either of
- Apache License, Version 2.0
- Mulan Permissive Software License, Version 2
at your option.
SPDX-License-Identifier: Apache-2.0 OR MulanPSL-2.0