Files
dioxus/examples/01-app-demos/bluetooth-scanner/Cargo.toml
T
Nico Burns 35e289fe28 Fix more examples to work with dioxus-native (#5179)
* Enable native for hotdog, file-explorer, and bluetooth-scanner examples

Signed-off-by: Nico Burns <nico@nicoburns.com>

* Fix crash in calculator example

Signed-off-by: Nico Burns <nico@nicoburns.com>

* Add config macro for native

* Add Config struct to dioxus-native

* Re-export dioxus-native as dioxus::native

* Fix calculator example to work with dioxus-native

* Fix calculator_mutable example to work with dioxus-native

---------

Signed-off-by: Nico Burns <nico@nicoburns.com>
2026-01-17 00:32:45 +00:00

20 lines
462 B
TOML

[package]
name = "bluetooth-scanner"
version = "0.1.1"
edition = "2021"
publish = false
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
tokio = { workspace = true, features = ["full"] }
dioxus = { workspace = true }
futures-channel = { workspace = true }
futures = { workspace = true }
btleplug = "0.11.8"
[features]
default = ["desktop"]
desktop = ["dioxus/desktop"]
native = ["dioxus/native"]