41 lines
959 B
TOML
41 lines
959 B
TOML
[package]
|
|
name = "flashcards"
|
|
version = "0.1.0"
|
|
authors = ["Wynd <wyndmaster@gmail.com>"]
|
|
edition = "2024"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies]
|
|
dioxus = { version = "0.6" }
|
|
toml = { version = "0.8" }
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
rand = { version = "0.9" }
|
|
include_dir = { version = "0.7" }
|
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
|
tokio = { version = "1.45", default-features = false, features = ["time"] }
|
|
|
|
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
|
getrandom = { version = "0.3", features = ["wasm_js"] }
|
|
async-std = { version = "1.13" }
|
|
|
|
[features]
|
|
default = ["desktop"]
|
|
bundled = []
|
|
web = ["dioxus/web", "bundled"]
|
|
desktop = ["dioxus/desktop"]
|
|
mobile = ["dioxus/mobile", "bundled"]
|
|
|
|
[profile]
|
|
|
|
[profile.wasm-dev]
|
|
inherits = "dev"
|
|
opt-level = 1
|
|
|
|
[profile.server-dev]
|
|
inherits = "dev"
|
|
|
|
[profile.android-dev]
|
|
inherits = "dev"
|