[package] name = "yarrr" version = "0.1.0" edition = "2021" description = "An edgy web server for files" readme = "README.md" repository = "https://git.ngni.us/NGnius/yarrr" license = "MIT OR Apache-2.0" keywords = ["ngnius", "yarrr"] categories = ["gui", "wasm"] # 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.12", 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", "LucideShare2", ] } log = "0.4" hex = "0.4" [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", "Location", "History", ] } gloo-utils = "0.2" 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 = "4.5", features = ["derive"] } url-escape = { version = "0.1.1" } rand = "0.8" ring = "0.17"