denki 0.2.0

CLI for controlling TP-Link smart home devices — denki (電気) means electricity in Japanese
Documentation
# 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 = "2024"
rust-version = "1.99"
name = "denki"
version = "0.2.0"
build = false
include = [
    "/src/**",
    "/tests/**",
    "/devices.toml",
    "/docs/library.md",
    "/Cargo.toml",
    "/Cargo.lock",
    "/README.md",
    "/LICENSE",
    "/CHANGELOG.md",
    "/CONTRIBUTING.md",
    "/rust-toolchain.toml",
    "/rustfmt.toml",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "CLI for controlling TP-Link smart home devices — denki (電気) means electricity in Japanese"
homepage = "https://github.com/kahwee/denki"
readme = "README.md"
keywords = [
    "tplink",
    "kasa",
    "tapo",
    "smarthome",
    "cli",
]
categories = [
    "command-line-utilities",
    "network-programming",
]
license = "MIT"
repository = "https://github.com/kahwee/denki"

[lib]
name = "denki"
path = "src/lib.rs"

[[bin]]
name = "denki"
path = "src/main.rs"

[[test]]
name = "automation_cli"
path = "tests/automation_cli.rs"

[[test]]
name = "live_smoke"
path = "tests/live_smoke.rs"

[[test]]
name = "live_tapo"
path = "tests/live_tapo.rs"

[[test]]
name = "power_cycle"
path = "tests/power_cycle.rs"

[[test]]
name = "protocol_resolution"
path = "tests/protocol_resolution.rs"

[[test]]
name = "scan_registry"
path = "tests/scan_registry.rs"

[[test]]
name = "storage_cli"
path = "tests/storage_cli.rs"

[[test]]
name = "tapo_aliases"
path = "tests/tapo_aliases.rs"

[[test]]
name = "terminal_cli"
path = "tests/terminal_cli.rs"

[dependencies.aes]
version = "0.9.3"

[dependencies.anyhow]
version = "1.0.104"

[dependencies.async-trait]
version = "0.1"

[dependencies.base16ct]
version = "1.0"
features = ["alloc"]

[dependencies.base64]
version = "0.23.1"

[dependencies.cbc]
version = "0.2.1"
features = ["alloc"]

[dependencies.ccm]
version = "0.6"

[dependencies.chrono]
version = "0.4.34"
features = [
    "clock",
    "serde",
]
default-features = false

[dependencies.chrono-tz]
version = "0.10"
features = ["serde"]

[dependencies.clap]
version = "4.6.7"
features = ["derive"]

[dependencies.clap_complete]
version = "4.6.11"

[dependencies.colored]
version = "3.1.1"

[dependencies.crc32fast]
version = "1.5"

[dependencies.dirs]
version = "7.0.0"

[dependencies.futures-util]
version = "0.3"

[dependencies.hkdf]
version = "0.13"

[dependencies.hmac]
version = "0.13"

[dependencies.if-addrs]
version = "0.15.0"

[dependencies.itertools]
version = "0.15"

[dependencies.lazy_static]
version = "1.5"

[dependencies.log]
version = "0.4"

[dependencies.md-5]
version = "0.11"

[dependencies.p256]
version = "0.14"
features = ["arithmetic"]
default-features = false

[dependencies.pbkdf2]
version = "0.13"

[dependencies.rand]
version = "0.10.3"

[dependencies.reqwest]
version = "0.13"
features = [
    "cookies",
    "json",
    "rustls",
]
default-features = false

[dependencies.retina]
version = "0.4"

[dependencies.rpassword]
version = "7.5.4"

[dependencies.rsa]
version = "0.10.0"
features = ["getrandom"]

[dependencies.serde]
version = "1.0.229"
features = ["derive"]

[dependencies.serde_json]
version = "1.0.154"

[dependencies.serde_with]
version = "3.20"

[dependencies.sha-crypt]
version = "0.6"
default-features = false

[dependencies.sha1]
version = "0.11.0"

[dependencies.sha2]
version = "0.11.1"

[dependencies.subtle]
version = "2.6.1"

[dependencies.tempfile]
version = "3.27.0"

[dependencies.thiserror]
version = "2.0"

[dependencies.tokio]
version = "1.54.1"
features = ["full"]

[dependencies.tokio-stream]
version = "0.1"

[dependencies.toml]
version = "1.1.8"

[dependencies.uuid]
version = "1.23"
features = [
    "serde",
    "v4",
]

[dev-dependencies.insta]
version = "1.49.0"

[dev-dependencies.once_cell]
version = "1.21"

[dev-dependencies.proptest]
version = "1.12.0"

[dev-dependencies.rstest]
version = "0.28.0"