flashcards/Cargo.toml

41 lines
959 B
TOML
Raw Normal View History

[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]
2025-06-17 01:40:35 +03:00
dioxus = { version = "0.6" }
toml = { version = "0.8" }
serde = { version = "1.0", features = ["derive"] }
rand = { version = "0.9" }
include_dir = { version = "0.7" }
2025-06-17 01:40:35 +03:00
[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 = []
2025-06-17 01:40:35 +03:00
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"