# 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 = "dirigera" version = "0.2.0" authors = ["Simon Sawert"] description = "Manage your IKEA Trådfri devices with Rust" homepage = "https://github.com/bombsimon/dirigera-rs" readme = "README.md" license = "MIT" repository = "https://github.com/bombsimon/dirigera-rs" [[bin]] name = "generate-token" path = "src/bin/generate_token.rs" required-features = ["binary"] [[example]] name = "dirigera" required-features = ["example"] [dependencies.anyhow] version = "1.0" [dependencies.chrono] version = "0.4" [dependencies.http] version = "0.2" [dependencies.hyper] version = "0.14.27" features = ["full"] [dependencies.hyper-rustls] version = "0.24.2" [dependencies.pkce] version = "0.1.1" optional = true [dependencies.reqwest] version = "0.11.22" features = ["json"] optional = true [dependencies.rustls] version = "0.21.8" features = ["dangerous_configuration"] [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.serde_json] version = "1.0" [dependencies.tokio] version = "1.33" features = ["full"] optional = true [dependencies.toml] version = "0.5" optional = true [dependencies.url] version = "2.4" optional = true [dev-dependencies.rand] version = "0.8.5" [features] binary = [ "config", "dep:pkce", "dep:reqwest", "dep:tokio", "dep:url", ] config = ["dep:toml"] default = [] example = [ "config", "dep:tokio", ]