# 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 = "rbroadlink" version = "0.4.2" authors = [ "Nicholas Cioli ", "Wyatt Lindquist ", ] description = "A library to control broadlink smart devices." homepage = "https://github.com/nicholascioli/rbroadlink" readme = "README.md" license = "MIT" repository = "https://github.com/nicholascioli/rbroadlink" [lib] name = "rbroadlink" path = "src/lib.rs" [[example]] name = "rbroadlink-cli" required-features = ["rbroadlink-cli"] [[example]] name = "mqtt-broadlink" required-features = ["mqtt-broadlink"] [dependencies.aes] version = "0.7.5" [dependencies.block-modes] version = "0.8.1" [dependencies.chrono] version = "0.4" [dependencies.env_logger] version = "0.9.0" optional = true [dependencies.get_if_addrs] version = "0.5.3" [dependencies.hex-literal] version = "0.3.4" [dependencies.log] version = "0.4.14" optional = true [dependencies.mqtt-async-client] version = "0.3.1" optional = true [dependencies.packed_struct] version = "0.10" [dependencies.phf] version = "0.10" features = ["macros"] [dependencies.rand] version = "0.8.4" [dependencies.rpassword] version = "5.0" optional = true [dependencies.tokio] version = "1.15.0" features = ["full"] optional = true [dev-dependencies.clap] version = "3.0.0" features = ["derive"] [dev-dependencies.hex] version = "0.4.3" [features] mqtt-broadlink = [ "env_logger", "log", "mqtt-async-client", "tokio", ] rbroadlink-cli = ["rpassword"]