rofaxul/Cargo.toml
2024-01-19 20:59:45 +01:00

36 lines
908 B
TOML

[package]
name = "rofaxul"
description = "Fork from luxafor"
version = "0.1.0"
authors = ["Simon Johnston <johnstonskj@gmail.com>", "Maxime Augier <max@xolus.net>"]
repository = "https://github.com/maugier/rofaxul"
edition = "2021"
license = "MIT"
readme = "README.md"
publish = false
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
all-features = true
[features]
default = ["webhook"]
usb = ["hidapi"]
webhook = ["reqwest"]
command-line = ["pretty_env_logger", "structopt", "usb", "webhook"]
[[bin]]
name = "lux"
path = "src/bin/main.rs"
required-features = ["command-line"]
[dependencies]
log = "0.4.11"
error-chain = "0.12.2"
#[feature-dependencies]
hidapi = { version = "1.2.3", optional = true }
pretty_env_logger = { version = "0.4.0", optional = true }
reqwest = { version = "0.11", features = ["blocking"], optional = true }
structopt = { version = "0.3.14", optional = true }