cec_linux 0.2.1

A pure rust library to use the HDMI-CEC linux API
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
name = "cec_linux"
version = "0.2.1"
authors = ["User65k <15049544+User65k@users.noreply.github.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A pure rust library to use the HDMI-CEC linux API"
readme = "README.md"
keywords = [
    "cec",
    "hdmi",
]
license = "MIT"
repository = "https://github.com/User65k/cec_linux"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
poll = ["nix/poll"]
tokio = ["tokio/net"]

[lib]
name = "cec_linux"
path = "src/lib.rs"

[[example]]
name = "monitor"
path = "examples/monitor.rs"
required-features = ["poll"]

[[example]]
name = "pass"
path = "examples/pass.rs"

[[example]]
name = "switch_power"
path = "examples/switch_power.rs"

[dependencies.bitflags]
version = "2.4.1"

[dependencies.nix]
version = "0.28"
features = ["ioctl"]

[dependencies.num_enum]
version = "0.7"

[dependencies.tokio]
version = "1.34"
optional = true