8 releases
new 0.2.3 | Jan 24, 2025 |
---|---|
0.2.2 | Jan 23, 2025 |
0.2.1 | Aug 15, 2023 |
0.1.7 | Sep 4, 2022 |
0.1.1 | Jun 12, 2021 |
#129 in Hardware support
17,355 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–6.5MB
~34K SLoC