14 stable releases (5 major)

5.0.0 Feb 9, 2022
4.0.0 Feb 9, 2022
3.0.0 Dec 29, 2021
2.2.2 Dec 13, 2021
0.1.0 Nov 5, 2019

#130 in Hardware support

Download history 34/week @ 2022-03-10 77/week @ 2022-03-17 8/week @ 2022-03-24 3/week @ 2022-03-31 8/week @ 2022-04-07 2/week @ 2022-04-14 4/week @ 2022-04-21 47/week @ 2022-04-28 102/week @ 2022-05-05 242/week @ 2022-05-12 64/week @ 2022-05-19 65/week @ 2022-05-26 149/week @ 2022-06-02 4/week @ 2022-06-09 10/week @ 2022-06-16 21/week @ 2022-06-23

199 downloads per month
Used in 2 crates

GPL-2.0 license

150KB
3K SLoC

cec-rs

Crates.io Docs.rs CI Coverage Status

Thin but safe wrappers for libcec. Supports libcec 4.x, 5.x and 6.x with an unified API.

Installation

Cargo

  • Install the rust toolchain in order to have cargo installed by following this guide.
  • run cargo install cec-rs

Example CLI application

See examples directory

License

Licensed under GNU General Public License version 2, (LICENSE or https://opensource.org/licenses/GPL-2.0)

The CI/CD setup in .github/ is based on rust-github/template, and therefore licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

See CONTRIBUTING.md.

Releasing

cargo release --skip-publish and let the github CD pipeline do the rest.

Dependencies

~4.5MB
~83K SLoC