57 lines
1.5 KiB
TOML
57 lines
1.5 KiB
TOML
[package]
|
|
name = "yarrr"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
description = "Template for starting a Yew project using Trunk"
|
|
readme = "README.md"
|
|
repository = "https://github.com/yewstack/yew-trunk-minimal-template"
|
|
license = "MIT OR Apache-2.0"
|
|
keywords = ["yew", "trunk"]
|
|
categories = ["gui", "wasm", "web-programming"]
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
[[bin]]
|
|
name = "frontend"
|
|
|
|
[[bin]]
|
|
name = "backend"
|
|
|
|
[dependencies]
|
|
reqwest = { version = "0.11.8", features = ["json"] }
|
|
serde = { version = "1.0.132", features = ["derive"] }
|
|
uuid = { version = "1.0.0", features = ["serde"] }
|
|
futures = "0.3"
|
|
bytes = "1.0"
|
|
yew_icons = {version = "0.7", features = [
|
|
"FeatherFolder",
|
|
"FeatherCornerLeftUp",
|
|
"FeatherFilm",
|
|
"FeatherImage",
|
|
"FeatherFile",
|
|
"FeatherRefreshCcw"
|
|
] }
|
|
|
|
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
|
yew = { version = "0.20", features = [ "csr", "hydration" ] }
|
|
wasm-bindgen = "0.2"
|
|
wasm-bindgen-futures = "0.4"
|
|
web-sys = { version = "0.3", features = [
|
|
"Headers",
|
|
"Request",
|
|
"RequestInit",
|
|
"RequestMode",
|
|
"Response",
|
|
"Window",
|
|
] }
|
|
wasm-logger = "0.2"
|
|
log = "0.4"
|
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
|
yew = { version = "0.20", features = [ "ssr" ] }
|
|
tokio = { version = "1", features = ["full"] }
|
|
actix-web = { version = "4.3" }
|
|
actix-files = { version = "0.6" }
|
|
actix-web-httpauth = { version = "0.8" }
|
|
clap = { version = "3.1.7", features = ["derive"] }
|
|
url-escape = { version = "0.1.1" }
|
|
rand = "0.8"
|