6 releases
0.2.1 | Aug 15, 2023 |
---|---|
0.2.0 |
|
0.1.7 | Sep 4, 2022 |
0.1.4 | Aug 25, 2021 |
0.1.1 | Jun 12, 2021 |
#496 in Hardware support
12,317 downloads per month
Used in 8 crates
(2 directly)
20KB
397 lines
libseat-rs
let seat = Seat::open(
|seat, event| match event {
SeatEvent::Enable => {
println!("Enable");
println!("Name: {}", seat.name());
}
SeatEvent::Disable => {
println!("Disable");
seat.disable().unwrap();
}
},
None,
)
Dependencies
~0–7.5MB
~36K SLoC