-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Cargo.toml
32 lines (27 loc) · 1017 Bytes
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
[package]
name = "litra"
version = "2.2.0"
edition = "2021"
authors = ["Tim Rogers <timrogers@github.com>"]
description = "Control your Logitech Litra light from the command line"
repository = "https://github.com/timrogers/litra-rs"
license = "MIT"
readme = "README.md"
categories = ["hardware-support", "command-line-utilities"]
keywords = ["logitech", "litra", "glow", "beam", "light"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
hidapi = "2.6.3"
clap = { version = "4.5.20", features = ["derive"], optional = true }
serde = { version = "1.0.214", features = ["derive"], optional = true }
serde_json = { version = "1.0.132", optional = true }
[features]
default = ["cli"]
cli = ["dep:clap", "dep:serde", "dep:serde_json"]
# TODO: Remove this once we're on a newer tokio version that doesn't trip this up
# https://github.com/tokio-rs/tokio/pull/6874
[lints.clippy]
needless_return = "allow"
[[bin]]
name = "litra"
required-features = ["cli"]