eventp 1.0.0

Safe Rust abstraction over Linux epoll, offering a truly zero-cost event dispatch mechanism.
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
rust-version = "1.71"
name = "eventp"
version = "1.0.0"
authors = ["Fuu g.for.xyz@gmail.com"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = """
Safe Rust abstraction over Linux epoll, offering a truly zero-cost event dispatch mechanism.
"""
readme = "README.md"
keywords = [
    "epoll",
    "event",
    "event-loop",
    "linux",
    "event-manager",
]
license = "MIT"
repository = "https://github.com/FuuuOverclocking/eventp"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
mock = ["dep:mockall"]
remote-endpoint = ["dep:oneshot"]

[lib]
name = "eventp"
path = "src/lib.rs"

[[example]]
name = "echo-server"
path = "examples/echo-server.rs"

[[bench]]
name = "dispatch"
path = "benches/dispatch.rs"
harness = false

[dependencies.libc]
version = "0.2"

[dependencies.mockall]
version = "0.13"
optional = true

[dependencies.nix]
version = "0.31"
features = ["event"]

[dependencies.oneshot]
version = "0.1.12"
optional = true

[dependencies.rustc-hash]
version = "2"

[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]
default-features = false

[dev-dependencies.event-manager]
version = "0.4"

[dev-dependencies.mio]
version = "1"
features = [
    "os-poll",
    "os-ext",
]

[profile.bench]
lto = true
codegen-units = 1

[profile.release]
debug = 2