eero-api 0.1.0

Async Rust client library for the eero WiFi router API
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"
name = "eero-api"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Async Rust client library for the eero WiFi router API"
readme = "README.md"
keywords = [
    "eero",
    "wifi",
    "router",
    "iot",
    "api",
]
categories = [
    "api-bindings",
    "network-programming",
]
license = "MIT"
repository = "https://github.com/erikh/eero"
resolver = "2"

[features]
dpapi = ["dep:windows-sys"]
keyring = ["dep:keyring"]
op = ["tokio/process"]

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

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

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

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

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

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

[dependencies.dirs]
version = "6"

[dependencies.keyring]
version = "3"
optional = true

[dependencies.reqwest]
version = "0.12"
features = [
    "json",
    "cookies",
]

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

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = [
    "fs",
    "rt",
]

[dependencies.tracing]
version = "0.1"

[dev-dependencies.axum]
version = "0.8"

[dev-dependencies.tempfile]
version = "3"

[dev-dependencies.tokio]
version = "1"
features = [
    "full",
    "test-util",
]

[target."cfg(windows)".dependencies.windows-sys]
version = "0.59"
features = ["Win32_Security_Cryptography"]
optional = true