# 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 = "2021" name = "hues" version = "0.1.2" authors = ["Tobias Fried "] description = "A Rust client for the Philips Hue API v2" readme = "README.md" keywords = [ "lighting", "home-automation", "IoT", "smart-home", ] categories = ["multimedia"] license = "MIT" repository = "https://github.com/rektdeckard/hues" [lib] name = "hues" path = "src/lib.rs" [[example]] name = "stream" required-features = [ "mdns", "sse", "streaming", ] [[example]] name = "listen" path = "examples/listen.rs" required-features = [ "mdns", "sse", ] [dependencies.futures-util] version = "0.3" optional = true [dependencies.json-patch] version = "1" [dependencies.log] version = "0.4" features = ["release_max_level_off"] [dependencies.mdns] version = "3" optional = true [dependencies.rand] version = "0.8" [dependencies.reqwest] version = "0.11" features = ["json"] [dependencies.reqwest-eventsource] version = "0.5" optional = true [dependencies.rustls] version = "0.22" optional = true [dependencies.serde] version = "1" features = ["derive"] [dependencies.serde_json] version = "1" [dependencies.tokio] version = "1" features = ["full"] [dependencies.webrtc-dtls] version = "0.8" features = ["pem"] optional = true [dependencies.webrtc-util] version = "0.8" optional = true [dev-dependencies.dotenv] version = "0.15" [features] all = [ "mdns", "sse", "streaming", ] default = [] mdns = [ "dep:mdns", "dep:futures-util", ] sse = ["dep:reqwest-eventsource"] streaming = [ "dep:rustls", "dep:webrtc-dtls", "dep:webrtc-util", ]