calloop 0.14.1

A callback-based event loop
Documentation
[badges.codecov]
repository = "Smithay/calloop"

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

[dependencies.async-task]
optional = true
version = "4.4.0"

[dependencies.bitflags]
version = "2.4"

[dependencies.futures-io]
optional = true
version = "0.3.5"

[dependencies.pin-utils]
optional = true
version = "0.1.0"

[dependencies.polling]
version = "3.0.0"

[dependencies.rustix]
default-features = false
features = ["event", "fs", "pipe", "std"]
version = "0.38"

[dependencies.slab]
version = "0.4.8"

[dependencies.tracing]
default-features = false
features = ["log"]
version = "0.1.40"

[dev-dependencies.criterion]
version = "0.4"

[dev-dependencies.futures]
version = "0.3.5"

[dev-dependencies.rustix]
default-features = false
features = ["net"]
version = "0.38"

[[example]]
name = "high_precision"
path = "examples/high_precision.rs"

[[example]]
name = "timer"
path = "examples/timer.rs"

[features]
block_on = ["pin-utils"]
executor = ["async-task"]
nightly_coverage = []
signals = ["nix"]

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

[package]
authors = ["Elinor Berger <elinor@safaradeg.net>"]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = false
description = "A callback-based event loop"
documentation = "https://docs.rs/calloop/"
edition = "2018"
keywords = ["events", "loop", "callback", "eventloop", "unix"]
license = "MIT"
name = "calloop"
readme = "README.md"
repository = "https://github.com/Smithay/calloop"
rust-version = "1.63.0"
version = "0.14.1"

[package.metadata.docs.rs]
features = ["block_on", "executor", "signals"]
rustdoc-args = ["--cfg", "docsrs"]

[target."cfg(unix)".dependencies.nix]
default-features = false
features = ["signal"]
optional = true
version = "0.29"

[[test]]
harness = false
name = "signals"
path = "tests/signals.rs"