feat: initial dioxus setup

This commit is contained in:
2025-05-23 14:14:53 +02:00
parent 1a4e7c6ad9
commit 0587099cf7
13 changed files with 5828 additions and 0 deletions

28
Cargo.toml Normal file
View File

@@ -0,0 +1,28 @@
[package]
name = "website"
version = "0.1.0"
authors = ["Michał Czyż <mike@c2yz.com>"]
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
dioxus = { version = "0.6.0", features = ["router", "fullstack"] }
[features]
default = ["web"]
web = ["dioxus/web"]
desktop = ["dioxus/desktop"]
mobile = ["dioxus/mobile"]
[profile]
[profile.wasm-dev]
inherits = "dev"
opt-level = 1
[profile.server-dev]
inherits = "dev"
[profile.android-dev]
inherits = "dev"