# 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 = "hass-rs" version = "0.3.1" authors = ["Dan Rusei "] exclude = [".github/*"] description = "An async websocket client for Home Assistant" documentation = "https://docs.rs/hass-rs" readme = "README.md" keywords = [ "hass", "homeassistant", "tokio", "async-std", ] license = "MIT" repository = "https://github.com/danrusei/hass-rs" [[example]] name = "get_cmds" path = "examples/get_cmds.rs" [[example]] name = "call_service" path = "examples/call_service.rs" [[example]] name = "subscribe_event" path = "examples/subscribe_event.rs" [[example]] name = "get_cmds_async_std" path = "examples/get_cmds_async_std.rs" [dependencies.async-std] version = "1.12" features = ["attributes"] optional = true [dependencies.async-tungstenite] version = "0.25" [dependencies.futures-util] version = "0.3.30" [dependencies.log] version = "0.4" [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.serde_json] version = "1.0" [dependencies.tokio] version = "1.36" features = ["sync"] optional = true [dev-dependencies.async-std] version = "1.12" features = ["attributes"] [dev-dependencies.async-tungstenite] version = "0.25" features = ["async-std-runtime"] [dev-dependencies.env_logger] version = "0.11" [dev-dependencies.lazy_static] version = "1.4.0" [dev-dependencies.tokio] version = "1.36" features = ["full"] [dev-dependencies.tokio-tungstenite] version = "0.21" [features] default = ["use-tokio"] use-async-std = ["async-std"] use-tokio = ["tokio"]