[package]
edition = "2024"
rust-version = "1.90"
name = "shelly-core"
version = "0.2.2"
authors = ["Ruben Jongejan <ruben.jongejan@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core Shelly device API and model types (Gen1/Gen2/Gen3 HTTP + RPC clients)"
homepage = "https://github.com/rvben/shelly-cli"
readme = "README.md"
keywords = [
"shelly",
"home-automation",
"iot",
"smart-home",
"cli",
]
categories = [
"command-line-utilities",
"network-programming",
]
license = "MIT"
repository = "https://github.com/rvben/shelly-cli"
resolver = "2"
[lib]
name = "shelly_core"
path = "src/lib.rs"
[[test]]
name = "switchkit_conformance"
path = "tests/switchkit_conformance.rs"
[[test]]
name = "transport"
path = "tests/transport.rs"
[dependencies.async-trait]
version = "0.1"
[dependencies.ipnet]
version = "2"
[dependencies.reqwest]
version = "0.12"
features = [
"json",
"rustls-tls",
]
default-features = false
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.switchkit]
version = "0.2"
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
version = "1"
features = ["full"]
[dev-dependencies.httpmock]
version = "0.8"