mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-10-16 04:33:16 +00:00
The `sleep_inhibitor` feature pulled in 20 pedantic/nightly lints that CI (default features) never exercised. Narrow all `pub` items in the module to `pub(crate)`/`pub(super)`, replace the `use super::iokit_bindings::*` wildcard with explicit imports, use `&raw mut` for FFI pointer borrows, drop the always-`Some` wrapping in `DummySleepInhibitor::acquire`, and bring `crate::sleep_inhibitor` into scope at the three call sites so they don't trip `clippy::absolute_paths`. Verified: `cargo +nightly-2026-04-14 clippy --workspace --all-targets --all-features -- -D warnings` clean, `cargo nextest run --workspace --all-features` 4563 tests passed. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| src | ||
| tests/it | ||
| build.rs | ||
| Cargo.toml | ||