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

Download history 2981/week @ 2024-10-07 3622/week @ 2024-10-14 2956/week @ 2024-10-21 3039/week @ 2024-10-28 2514/week @ 2024-11-04 2523/week @ 2024-11-11 2495/week @ 2024-11-18 3173/week @ 2024-11-25 2587/week @ 2024-12-02 2957/week @ 2024-12-09 3321/week @ 2024-12-16 3405/week @ 2024-12-23 3150/week @ 2024-12-30 4491/week @ 2025-01-06 4775/week @ 2025-01-13 4328/week @ 2025-01-20

17,355 downloads per month
Used in 8 crates (2 directly)

MIT license

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