tapo 0.8.10

Unofficial Tapo API Client. Works with TP-Link Tapo smart devices. Tested with light bulbs (L510, L520, L530, L535, L610, L630), light strips (L900, L920, L930), plugs (P100, P105, P110, P110M, P115), power strips (P300, P304M, P306, P316M), hubs (H100), switches (S200B, S200D) and sensors (KE100, T100, T110, T300, T310, T315).
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.88"
name = "tapo"
version = "0.8.10"
authors = ["Mihai Dinculescu <mihai.dinculescu@outlook.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Unofficial Tapo API Client. Works with TP-Link Tapo smart devices. Tested with light bulbs (L510, L520, L530, L535, L610, L630), light strips (L900, L920, L930), plugs (P100, P105, P110, P110M, P115), power strips (P300, P304M, P306, P316M), hubs (H100), switches (S200B, S200D) and sensors (KE100, T100, T110, T300, T310, T315)."
readme = "README.md"
keywords = [
    "IOT",
    "tapo",
    "smart-home",
    "smart-bulb",
    "smart-plug",
]
categories = [
    "hardware-support",
    "embedded",
    "development-tools",
]
license = "MIT"
repository = "https://github.com/mihai-dinculescu/tapo"

[features]
default = []
python = ["dep:pyo3"]

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

[[example]]
name = "common"
path = "examples/common.rs"

[[example]]
name = "tapo_discover_devices"
path = "examples/tapo_discover_devices.rs"

[[example]]
name = "tapo_generic_device"
path = "examples/tapo_generic_device.rs"

[[example]]
name = "tapo_generic_device_toggle"
path = "examples/tapo_generic_device_toggle.rs"

[[example]]
name = "tapo_h100"
path = "examples/tapo_h100.rs"

[[example]]
name = "tapo_ke100"
path = "examples/tapo_ke100.rs"

[[example]]
name = "tapo_l510"
path = "examples/tapo_l510.rs"

[[example]]
name = "tapo_l530"
path = "examples/tapo_l530.rs"

[[example]]
name = "tapo_l900"
path = "examples/tapo_l900.rs"

[[example]]
name = "tapo_l930"
path = "examples/tapo_l930.rs"

[[example]]
name = "tapo_p100"
path = "examples/tapo_p100.rs"

[[example]]
name = "tapo_p110"
path = "examples/tapo_p110.rs"

[[example]]
name = "tapo_p300"
path = "examples/tapo_p300.rs"

[[example]]
name = "tapo_p304"
path = "examples/tapo_p304.rs"

[dependencies.aes]
version = "0.8"

[dependencies.anyhow]
version = "1.0"

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

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

[dependencies.base64]
version = "0.22"

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

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

[dependencies.crc32fast]
version = "1.5"

[dependencies.itertools]
version = "0.14"

[dependencies.lazy_static]
version = "1.5"

[dependencies.log]
version = "0.4"

[dependencies.pyo3]
version = "0.28"
features = [
    "serde",
    "chrono",
]
optional = true

[dependencies.rand]
version = "0.10"

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

[dependencies.rsa]
version = "0.10.0-rc.15"
features = ["getrandom"]

[dependencies.serde]
version = "1.0"
features = [
    "derive",
    "serde_derive",
]

[dependencies.serde_json]
version = "1.0"

[dependencies.serde_with]
version = "3.16"

[dependencies.sha1]
version = "0.10"

[dependencies.sha2]
version = "0.10"

[dependencies.thiserror]
version = "2.0"

[dependencies.tokio]
version = "1.49"
features = ["sync"]
default-features = false

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

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

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

[dev-dependencies.pretty_env_logger]
version = "0.5"

[dev-dependencies.tokio]
version = "1.49"
features = [
    "rt-multi-thread",
    "macros",
]
default-features = false