♻️ Clean Cargo.toml file and add target specific dependencies
This commit is contained in:
14
Cargo.toml
14
Cargo.toml
@@ -3,7 +3,10 @@ name = "beau-gosse-du-92"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
[features]
|
||||
default = []
|
||||
desktop = ["dioxus/desktop"]
|
||||
web = ["dioxus/web"]
|
||||
|
||||
[dependencies]
|
||||
dioxus = "0.5.0"
|
||||
@@ -30,16 +33,11 @@ const_format = "0.2.32"
|
||||
zxcvbn = "2.2.2"
|
||||
async-std = "1.12.0"
|
||||
|
||||
[build]
|
||||
target = "x86_64-unknown-linux-gnu"
|
||||
[target.'cfg(target_family = "wasm")'.dependencies]
|
||||
web-sys = { version = "0.3.69" }
|
||||
|
||||
[build-dependencies]
|
||||
regex = "1.10.3"
|
||||
|
||||
[package.metadata.turf.class_names]
|
||||
template = "<original_name>--<id>"
|
||||
|
||||
[features]
|
||||
default = []
|
||||
desktop = ["dioxus/desktop"]
|
||||
web = ["dioxus/web"]
|
||||
|
Reference in New Issue
Block a user