# 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 = "luxafor" version = "0.3.0" authors = ["Simon Johnston "] publish = true default-run = "lux" description = "Library, and CLI, for Luxafor lights via either USB or webhooks." documentation = "https://docs.rs/luxafor/0.1.0/luxafor/" readme = "README.md" license = "MIT" repository = "https://github.com/johnstonskj/rust-luxafor" [package.metadata.docs.rs] all-features = true targets = ["x86_64-unknown-linux-gnu"] [[bin]] name = "lux" path = "src/bin/main.rs" required-features = ["command-line"] [dependencies.hidapi] version = "2.2.2" optional = true [dependencies.log] version = "0.4.11" [dependencies.pretty_env_logger] version = "0.5.0" optional = true [dependencies.reqwest] version = "0.12" features = ["blocking"] optional = true [dependencies.structopt] version = "0.3.14" optional = true [features] command-line = [ "pretty_env_logger", "structopt", "usb", "webhook", ] default = ["webhook"] usb = ["hidapi"] webhook = ["reqwest"]