miniserve/Cargo.toml

80 lines
2.0 KiB
TOML
Raw Normal View History

2018-04-26 17:32:25 +00:00
[package]
name = "miniserve"
2022-02-21 00:26:55 +00:00
version = "0.19.2"
2018-04-26 17:32:25 +00:00
description = "For when you really just want to serve some files over HTTP right now!"
2019-02-15 18:08:34 +00:00
authors = ["Sven-Hendrik Haase <svenstaro@gmail.com>", "Boastful Squirrel <boastful.squirrel@gmail.com>"]
2018-04-26 17:32:25 +00:00
repository = "https://github.com/svenstaro/miniserve"
license = "MIT"
readme = "README.md"
2018-05-17 15:29:00 +00:00
keywords = ["serve", "http-server", "static-files", "http", "server"]
categories = ["command-line-utilities", "network-programming", "web-programming::http-server"]
2021-10-26 00:41:27 +00:00
edition = "2021"
2018-04-26 17:32:25 +00:00
[profile.release]
lto = true
2019-02-27 23:43:37 +00:00
opt-level = 'z'
codegen-units = 1
panic = 'abort'
2018-04-26 17:32:25 +00:00
[dependencies]
actix-web = "=4.0.0-rc.3"
2022-02-05 20:30:47 +00:00
actix-files = "=0.6.0-beta.16"
actix-multipart = "=0.4.0-beta.13"
actix-web-httpauth = "=0.6.0-beta.8"
maud = "0.23"
2021-04-18 02:52:22 +00:00
yansi = "0.5"
simplelog = "0.11"
2021-03-07 01:39:52 +00:00
percent-encoding = "2"
port_check = "0.1"
bytesize = "1"
nanoid = "0.4"
2021-03-07 01:39:52 +00:00
alphanumeric-sort = "1"
clap = { version = "3.1.3", features = ["derive", "cargo", "wrap_help"] }
clap_complete = "3.0.3"
clap_mangen = "0.1"
chrono = "0.4"
chrono-humanize = "0.2"
2021-03-07 01:39:52 +00:00
serde = { version = "1", features = ["derive"] }
tar = "0.4"
futures = "0.3"
2021-03-07 01:39:52 +00:00
libflate = "1"
2021-03-20 22:32:25 +00:00
thiserror = "1"
2021-08-27 02:11:10 +00:00
anyhow = "1"
log = "0.4"
strum = "0.24"
strum_macros = "0.24"
2021-12-09 05:53:51 +00:00
sha2 = "0.10"
hex = "0.4"
zip = "0.5.11"
2021-03-07 01:39:52 +00:00
qrcodegen = "1"
2020-09-24 02:39:19 +00:00
mime = "0.3"
httparse = "1"
http = "0.2"
atty = "0.2"
rustls = { version = "0.20", optional = true }
rustls-pemfile = { version = "0.3", optional = true }
socket2 = "0.4"
get_if_addrs = "0.5"
[features]
default = ["tls"]
# This feature allows us to use rustls only on architectures supported by ring.
# See also https://github.com/briansmith/ring/issues/1182
# and https://github.com/briansmith/ring/issues/562
# and https://github.com/briansmith/ring/issues/1367
tls = ["rustls", "rustls-pemfile", "actix-web/rustls"]
[dev-dependencies]
assert_cmd = "2"
2021-01-06 09:32:21 +00:00
reqwest = { version = "0.11", features = ["blocking", "multipart", "rustls-tls"], default-features = false }
2021-03-07 01:39:52 +00:00
assert_fs = "1"
select = "0.5"
rstest = "0.12"
2021-03-07 01:39:52 +00:00
regex = "1"
pretty_assertions = "1.0"
2021-03-07 01:39:52 +00:00
url = "2"
2021-08-27 02:11:10 +00:00
predicates = "2"
2020-09-26 21:07:24 +00:00
[build-dependencies]
grass = "0.10"