[package]
edition = "2024"
name = "switchbot-cli"
version = "0.1.16"
authors = ["Koji Ishii <kojiishi@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A command-line tool for controlling SwitchBot devices using the SwitchBot API."
homepage = "https://github.com/kojiishi/switchbot-rs/tree/main/cli"
documentation = "https://docs.rs/switchbot-cli/"
readme = "README.md"
keywords = [
"switchbot",
"cli",
"command",
"command-line-tool",
]
license = "Apache-2.0"
repository = "https://github.com/kojiishi/switchbot-rs"
[lib]
name = "switchbot_cli"
path = "src/lib.rs"
[[bin]]
name = "switchbot"
path = "src/main.rs"
[dependencies.anyhow]
version = "1.0.102"
features = ["backtrace"]
[dependencies.async-scoped]
version = "0.9.0"
features = ["use-tokio"]
[dependencies.clap]
version = "4.6.1"
features = [
"derive",
"env",
]
[dependencies.directories]
version = "6.0.0"
[dependencies.env_logger]
version = "0.11.10"
[dependencies.itertools]
version = "0.14.0"
[dependencies.log]
version = "0.4.29"
[dependencies.serde]
version = "1.0.228"
features = ["derive"]
[dependencies.serde_json]
version = "1.0.149"
[dependencies.switchbot-api]
version = "0.1.6"
[dependencies.tokio]
version = "1.52.3"
features = [
"macros",
"rt-multi-thread",
]