[package]
edition = "2024"
rust-version = "1.87.0"
name = "epox"
version = "0.2.3"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "An epoll driven async executor."
readme = "README.md"
keywords = [
"async",
"epoll",
"linux",
]
categories = ["asynchronous"]
license = "MIT"
repository = "https://github.com/relectrify/epox"
[features]
default = []
nightly = []
[lib]
name = "epox"
path = "src/lib.rs"
[[example]]
name = "channel"
path = "examples/channel.rs"
[[example]]
name = "futures-serial"
path = "examples/futures-serial.rs"
[[example]]
name = "readline"
path = "examples/readline.rs"
[[example]]
name = "select-sigint-readline"
path = "examples/select-sigint-readline.rs"
[[example]]
name = "serial"
path = "examples/serial.rs"
[[example]]
name = "sigint"
path = "examples/sigint.rs"
[[example]]
name = "tasks"
path = "examples/tasks.rs"
[[example]]
name = "timeout"
path = "examples/timeout.rs"
[[example]]
name = "timer"
path = "examples/timer.rs"
[[example]]
name = "yield"
path = "examples/yield.rs"
[dependencies.futures-io]
version = "0.3"
[dependencies.futures-util]
version = "0.3"
default-features = false
[dependencies.nix]
version = "0.30"
features = [
"event",
"fs",
"signal",
"term",
"time",
]
[dependencies.pin-project-lite]
version = "0.2"
[dev-dependencies.async-channel]
version = "2"
[dev-dependencies.clap]
version = "4"
features = ["derive"]
[dev-dependencies.futures]
version = "0"
[dev-dependencies.futures-lite]
version = "2"
[dev-dependencies.serialport]
version = "4"
[build-dependencies.rustc_version]
version = "0.4"
[lints.clippy]
nursery = "warn"
pedantic = "warn"
[lints.clippy.cast_possible_truncation]
level = "allow"
priority = 1
[lints.clippy.cast_precision_loss]
level = "allow"
priority = 1
[lints.clippy.cognitive_complexity]
level = "allow"
priority = 1
[lints.clippy.doc_markdown]
level = "allow"
priority = 1
[lints.clippy.future_not_send]
level = "allow"
priority = 1
[lints.clippy.if_not_else]
level = "allow"
priority = 1
[lints.clippy.items_after_statements]
level = "allow"
priority = 1
[lints.clippy.match_wildcard_for_single_variants]
level = "allow"
priority = 1
[lints.clippy.missing_errors_doc]
level = "allow"
priority = 1
[lints.clippy.missing_panics_doc]
level = "allow"
priority = 1
[lints.clippy.needless_pass_by_value]
level = "allow"
priority = 1
[lints.clippy.new_without_default]
level = "allow"
priority = 1
[lints.clippy.option_if_let_else]
level = "allow"
priority = 1
[lints.clippy.redundant_closure]
level = "allow"
priority = 1
[lints.clippy.redundant_closure_for_method_calls]
level = "allow"
priority = 1
[lints.clippy.redundant_pub_crate]
level = "allow"
priority = 1
[lints.clippy.significant_drop_tightening]
level = "allow"
priority = 1
[lints.clippy.similar_names]
level = "allow"
priority = 1
[lints.clippy.suboptimal_flops]
level = "allow"
priority = 1
[lints.clippy.too_many_lines]
level = "allow"
priority = 1
[lints.clippy.tuple_array_conversions]
level = "allow"
priority = 1
[lints.clippy.type_complexity]
level = "allow"
priority = 1
[lints.clippy.unreadable_literal]
level = "allow"
priority = 1
[lints.clippy.unused_self]
level = "allow"
priority = 1
[lints.rust]
unnameable-types = "warn"
unreachable-pub = "warn"