[package] name = "sfz" version = "0.7.1" authors = ["Weihang Lo "] description = "A simple static file serving command-line tool." documentation = "https://github.com/weihanglo/sfz" homepage = "https://github.com/weihanglo/sfz" repository = "https://github.com/weihanglo/sfz" readme = "README.md" keywords = ["static", "file", "server", "http", "cli"] categories = ["command-line-utilities", "web-programming::http-server"] exclude = ["HomebrewFormula"] license = "MIT/Apache-2.0" edition = "2021" [dependencies] # Command-line clap = { version = "3", default-features = false, features = ["std", "cargo"] } # Server tokio = { version = "1", features = ["rt-multi-thread", "macros"] } tokio-util = { version = "0.7", features = ["io"] } hyper = { version = "0.14.20", features = ["http1", "server", "tcp", "stream"] } headers = "0.3" mime_guess = "2.0" percent-encoding = "2.1" # Compression async-compression = { version = "0.3.7", features = [ "brotli", "deflate", "gzip", "tokio", ] } # Rendering tera = "1" serde = { version = "1.0", features = [ "derive", ] } # For tera serializing variables to template. ignore = "0.4" # Respect to .gitignore while listing directories. # Logging chrono = "0.4" # Directory Download qstring = "0.7" zip = { version = "0.6", default-features = false, features = ["deflate"] } futures = "0.3" tempfile = "3" bytes = "1" [dev-dependencies] tempfile = "3" once_cell = "1" [profile.dev] codegen-units = 2 incremental = true [profile.release] lto = true panic = "abort"