60 lines
1.6 KiB
TOML
60 lines
1.6 KiB
TOML
[package]
|
|
name = "todo-baggins"
|
|
version = "0.1.0"
|
|
authors = ["Matouš Volf <git@matousvolf.cz>"]
|
|
edition = "2021"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies]
|
|
chrono = { version = "0.4.39", features = ["serde", "unstable-locales"] }
|
|
dioxus = { version = "0.6.3", features = ["fullstack", "router"] }
|
|
feruca = { version = "0.10.1" }
|
|
serde = { version = "1.0.217" }
|
|
serde_json = { version = "1.0.138" }
|
|
serde_with = { version = "3.12.0", features = ["chrono_0_4"] }
|
|
tracing = "0.1.41"
|
|
unic-langid-impl = { version = "0.9.5", features = ["serde"] }
|
|
validator = { version = "0.19.0", features = ["derive"] }
|
|
|
|
diesel = { version = "2.2.7", features = ["chrono", "postgres", "postgres_backend", "serde_json"], optional = true }
|
|
diesel_migrations = { version = "2.2.0", features = ["postgres"], optional = true }
|
|
dotenvy = { version = "0.15.7", optional = true }
|
|
time = { version = "0.3.37", optional = true }
|
|
|
|
async-std = { version = "1.13.0", optional = true }
|
|
dioxus-i18n = { version = "0.4.2", optional = true }
|
|
dioxus-query = { version = "0.6.0", optional = true }
|
|
voca_rs = { version = "1.15.2", optional = true }
|
|
|
|
[features]
|
|
default = ["web"]
|
|
desktop = ["dioxus/desktop"]
|
|
mobile = ["dioxus/mobile"]
|
|
web = [
|
|
"dioxus/web",
|
|
"dep:async-std",
|
|
"dep:dioxus-query",
|
|
"dep:dioxus-i18n",
|
|
"dep:voca_rs"
|
|
]
|
|
server = [
|
|
"dioxus/server",
|
|
"dep:diesel",
|
|
"dep:diesel_migrations",
|
|
"dep:dotenvy",
|
|
"dep:time",
|
|
]
|
|
|
|
[profile]
|
|
|
|
[profile.wasm-dev]
|
|
inherits = "dev"
|
|
opt-level = 1
|
|
|
|
[profile.server-dev]
|
|
inherits = "dev"
|
|
|
|
[profile.android-dev]
|
|
inherits = "dev"
|