[package]
edition = "2024"
name = "switchbot-api"
version = "0.1.16"
authors = ["Koji Ishii <kojiishi@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A library to to interact with the SwitchBot API and control your SwitchBot devices programmatically."
homepage = "https://github.com/kojiishi/switchbot-rs/tree/main/api"
documentation = "https://docs.rs/switchbot-api/"
readme = "README.md"
keywords = ["switchbot"]
license = "Apache-2.0"
repository = "https://github.com/kojiishi/switchbot-rs"
[lib]
name = "switchbot_api"
path = "src/lib.rs"
[dependencies.anyhow]
version = "1.0.102"
features = ["backtrace"]
[dependencies.base64]
version = "0.22.1"
[dependencies.hmac]
version = "0.13.0"
[dependencies.log]
version = "0.4.29"
[dependencies.regex]
version = "1.12.3"
[dependencies.reqwest]
version = "0.13.3"
features = ["json"]
[dependencies.serde]
version = "1.0.228"
features = ["derive"]
[dependencies.serde_json]
version = "1.0.149"
[dependencies.sha2]
version = "0.11.0"
[dependencies.thiserror]
version = "2.0.18"
[dependencies.uuid]
version = "1.23.1"
features = ["v4"]