* 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>
23 lines
592 B
TOML
23 lines
592 B
TOML
[package]
|
|
name = "hotdog"
|
|
version = "0.1.0"
|
|
authors = ["Dioxus Labs"]
|
|
edition = "2021"
|
|
publish = false
|
|
|
|
[dependencies]
|
|
dioxus = { workspace = true, features = ["fullstack", "router"] }
|
|
reqwest = { workspace = true, features = ["json"] }
|
|
serde = { workspace = true, features = ["derive"] }
|
|
serde_json = { workspace = true }
|
|
rusqlite = { version = "0.32.0", optional = true }
|
|
anyhow = { workspace = true }
|
|
|
|
[features]
|
|
default = ["web", "server"]
|
|
web = ["dioxus/web"]
|
|
desktop = ["dioxus/desktop"]
|
|
native = ["dioxus/native"]
|
|
mobile = ["dioxus/mobile"]
|
|
server = ["dioxus/server", "dep:rusqlite"]
|