# 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 = "cargo-server" version = "0.3.6" authors = ["Raphael Amorim "] exclude = ["/.github"] description = "Helps you serve a static site, single page application or just a static file" documentation = "https://github.com/raphamorim/cargo-server#readme" readme = "README.md" keywords = [ "cargo", "server", "static", "single-page", "https", ] categories = [ "command-line-utilities", "development-tools", ] license = "MPL-2.0" repository = "https://github.com/raphamorim/cargo-server" [package.metadata.binstall] bin-dir = "{ name }-v{ version }-{ target }/{ bin }{ format }" [package.metadata.deb] assets = [[ "target/release/cargo-server", "usr/bin/", "755", ]] license-file = [ "LICENSE", "0", ] maintainer = "Raphael Amorim " section = "devel" [profile.release] lto = true codegen-units = 1 panic = "abort" [[bin]] name = "cargo-server" [dependencies.axum] version = "0.6.20" [dependencies.clap] version = "4.0.1" features = ["derive"] [dependencies.http] version = "0.2.10" [dependencies.open] version = "5.0.0" [dependencies.serde_json] version = "1.0.108" [dependencies.tokio] version = "1.34.0" features = ["full"] [dependencies.tower-http] version = "0.3.5" features = [ "fs", "cors", ]