[package] name = "ember_mug" version = "0.4.0" edition = "2021" license = "MIT OR Apache-2.0" repository = "https://github.com/emilgardis/ember_mug" keywords = ["bluetooth", "ble", "temperature", "embedded", "ember"] categories = ["hardware-support"] exclude = [".github", "docs", "release.toml"] description = "Control and retrieve data from an Ember Ceramic Mug using Bluetooth Low Energy (BLE)" [dependencies] binrw = "0.13.2" btleplug = "0.11.3" futures = "0.3.25" serde = { version = "1.0.152", optional = true, features = ["derive"] } thiserror = "1.0.38" tokio = { version = "1.23.0", default-features = false, features = ["time"] } tracing = "0.1.37" uuid = "1.2.2" [dev-dependencies] color-eyre = "0.6.2" tokio = { version = "1.23.0", features = ["macros", "rt-multi-thread"] } tracing-subscriber = { version = "0.3.16", features = ["env-filter"] } [workspace] members = ["egui_interface", "xtask"] [workspace.dependencies] ember_mug = { path = "." } [profile.release] opt-level = 2 # fast and small wasm # Optimize all dependencies even in debug builds: [profile.dev.package."*"] opt-level = 2 [[example]] name = "example" doc-scrape-examples = true [package.metadata.docs.rs] all-features = true rustc-args = ["--cfg", "nightly"] rustdoc-args = ["--cfg", "nightly"] cargo-args = ["-Zunstable-options", "-Zrustdoc-scrape-examples"]