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 |
#427 in Hardware support
13,532 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–8MB
~39K SLoC