# 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 = "2018" rust-version = "1.63.0" name = "calloop" version = "0.14.1" authors = ["Elinor Berger "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "A callback-based event loop" documentation = "https://docs.rs/calloop/" readme = "README.md" keywords = [ "events", "loop", "callback", "eventloop", "unix", ] license = "MIT" repository = "https://github.com/Smithay/calloop" [package.metadata.docs.rs] features = [ "block_on", "executor", "signals", ] rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "calloop" path = "src/lib.rs" [[example]] name = "high_precision" path = "examples/high_precision.rs" [[example]] name = "timer" path = "examples/timer.rs" [[test]] name = "signals" path = "tests/signals.rs" harness = false [[bench]] name = "timer" path = "benches/timer.rs" harness = false [dependencies.async-task] version = "4.4.0" optional = true [dependencies.bitflags] version = "2.4" [dependencies.futures-io] version = "0.3.5" optional = true [dependencies.pin-utils] version = "0.1.0" optional = true [dependencies.polling] version = "3.0.0" [dependencies.rustix] version = "0.38" features = [ "event", "fs", "pipe", "std", ] default-features = false [dependencies.slab] version = "0.4.8" [dependencies.tracing] version = "0.1.40" features = ["log"] default-features = false [dev-dependencies.criterion] version = "0.4" [dev-dependencies.futures] version = "0.3.5" [dev-dependencies.rustix] version = "0.38" features = ["net"] default-features = false [features] block_on = ["pin-utils"] executor = ["async-task"] nightly_coverage = [] signals = ["nix"] [target."cfg(unix)".dependencies.nix] version = "0.29" features = ["signal"] optional = true default-features = false [badges.codecov] repository = "Smithay/calloop"