# Eventp
[](https://crates.io/crates/eventp)
[](https://docs.rs/eventp/)
A high-performance Linux event loop library built on epoll with type-safe interest registration and flexible event handling.
- [Documentation](https://docs.rs/eventp/)
- [Examples](https://github.com/FuuuOverclocking/eventp/tree/main/examples)
- [Technical](https://docs.rs/eventp/latest/eventp/_technical/index.html)
- [Technical (中文)](https://docs.rs/eventp/latest/eventp/_technical_zh/index.html)
## Quick start
```sh
cargo add eventp
cargo add eventp --dev --features mock
```
or,
```toml
[dependencies]
eventp = "0.3.3"
[dev-dependencies]
eventp = { version = "0.3.3", features = ["mock"] }
```
> When writing tests, you may find the `mock` feature makes life much easier :)
## Example
Here is a full example shows almost everything you need: [examples/echo-server.rs](https://github.com/FuuuOverclocking/eventp/blob/main/examples/echo-server.rs).
## License
MIT.