yarrr/Cargo.toml

61 lines
1.6 KiB
TOML
Raw Normal View History

2023-06-05 02:12:03 +01:00
[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"
] }
2023-10-30 02:06:20 +00:00
log = "0.4"
2023-06-05 02:12:03 +01:00
[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",
2023-10-30 02:06:20 +00:00
"Location",
"History",
2023-06-05 02:12:03 +01:00
] }
2023-10-30 02:06:20 +00:00
gloo-utils = "0.2"
2023-06-05 02:12:03 +01:00
wasm-logger = "0.2"
[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"