# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "spa-rs" version = "0.7.0" description = "Embed all SPA web application files and release as a single binary executable." homepage = "https://github.com/avalon1610/spa-rs" readme = "README.md" license = "MIT" repository = "https://github.com/avalon1610/spa-rs" [dependencies.anyhow] version = "1.0.57" [dependencies.async-trait] version = "0.1.57" [dependencies.axum] version = "0.7" features = [ "multipart", "ws", "macros", "http2", ] [dependencies.axum-help] version = "0.1.3" [dependencies.axum-server] version = "0.6" [dependencies.headers] version = "0.4.0" [dependencies.log] version = "0.4.17" [dependencies.md5] version = "0.7.0" [dependencies.parking_lot] version = "0.12.0" [dependencies.rand] version = "0.8.5" [dependencies.reqwest] version = "0.11.10" optional = true default-features = false [dependencies.rust-embed] version = "8.0.0" [dependencies.tower] version = "0.4.12" [dependencies.tower-http] version = "0.5.0" features = [ "fs", "set-header", ] [dev-dependencies.env_logger] version = "0.11.0" [dev-dependencies.tokio] version = "1" features = [ "rt", "rt-multi-thread", "macros", ] [features] default = [] openssl = ["axum-server/tls-openssl"] reverse-proxy = ["reqwest"] rustls = ["axum-server/tls-rustls"]