5 releases
new 0.1.9 | Jan 24, 2025 |
---|---|
0.1.8 | Jan 23, 2025 |
0.1.7 | Sep 4, 2022 |
0.1.1 | Jun 12, 2021 |
#2 in #seat
17,350 downloads per month
Used in 9 crates
(via libseat)
6KB
99 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,
)
No runtime deps
~140KB