3a9bb60605
Reviewed-on: #30 Reviewed-by: restitux <restitux@ohea.xyz> Co-authored-by: Sam Sartor <me@samsartor.com> Co-committed-by: Sam Sartor <me@samsartor.com>
35 lines
930 B
TOML
35 lines
930 B
TOML
[package]
|
|
name = "mumble-web2-gui"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
[dependencies]
|
|
dioxus = { version = "0.7.2" }
|
|
dioxus-web = { version = "0.7.2", optional = true }
|
|
mumble-web2-client = { version = "0.1.0", path = "../client" }
|
|
mumble-web2-common = { version = "0.1.0", path = "../common" }
|
|
color-eyre = "^0.6.3"
|
|
|
|
# Platform Integration
|
|
# ====================
|
|
# rfd only supports windows, macos, linux, and wasm32. No support for Android or iOS
|
|
[target.'cfg(any(target_os = "linux", target_os = "windows", target_os = "macos", target_arch = "wasm32"))'.dependencies]
|
|
rfd = { git = "https://github.com/PolyMeilex/rfd.git", version = "^0.16.0", default-features = false, optional = true }
|
|
|
|
[features]
|
|
web = [
|
|
"dioxus/web",
|
|
"dioxus-web",
|
|
"mumble-web2-client/web",
|
|
"rfd",
|
|
]
|
|
desktop = [
|
|
"dioxus/desktop",
|
|
"mumble-web2-client/desktop",
|
|
"rfd/xdg-portal",
|
|
]
|
|
mobile = [
|
|
"dioxus/mobile",
|
|
"mumble-web2-client/mobile"
|
|
]
|