3 releases
0.1.7 | Sep 4, 2022 |
---|---|
0.1.6 |
|
0.1.5 |
|
0.1.1 | Jun 12, 2021 |
0.1.0 | Jun 11, 2021 |
#2 in #seat
12,568 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
~135KB