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