1 unstable release
0.1.3 | Apr 19, 2023 |
---|
#49 in #device
10KB
227 lines
rfkillr 🦀🔪
Send rfkill
commands through rust, not async
example
let rfkill = RfKill::new()?;
let reset_event = CRfKillEvent::default()
.set_event_type(RfkillType::All)
.set_op(RfkillOperations::RfKillOpChangeAll)
.soft_block();
rfkill.update_device(reset_event);
Dependencies
~2–2.8MB
~56K SLoC