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"]
|
2019-08-07 20:59:07 +00:00
|
|
|
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
|
|
|
|
2018-05-17 11:28:50 +00:00
|
|
|
[profile.release]
|
|
|
|
lto = true
|
2019-02-27 23:43:37 +00:00
|
|
|
opt-level = 'z'
|
|
|
|
codegen-units = 1
|
|
|
|
panic = 'abort'
|
2018-05-17 11:28:50 +00:00
|
|
|
|
2018-04-26 17:32:25 +00:00
|
|
|
[dependencies]
|
2022-02-09 04:20:46 +00:00
|
|
|
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"
|
2022-02-18 04:19:57 +00:00
|
|
|
actix-web-httpauth = "=0.6.0-beta.8"
|
2021-11-12 04:21:23 +00:00
|
|
|
maud = "0.23"
|
2021-04-18 02:52:22 +00:00
|
|
|
yansi = "0.5"
|
2021-11-15 04:20:14 +00:00
|
|
|
simplelog = "0.11"
|
2021-03-07 01:39:52 +00:00
|
|
|
percent-encoding = "2"
|
2020-06-28 20:03:31 +00:00
|
|
|
port_check = "0.1"
|
2021-03-28 20:52:12 +00:00
|
|
|
bytesize = "1"
|
2021-04-07 04:16:30 +00:00
|
|
|
nanoid = "0.4"
|
2021-03-07 01:39:52 +00:00
|
|
|
alphanumeric-sort = "1"
|
2022-01-13 04:14:16 +00:00
|
|
|
clap = { version = "3.0.7", features = ["derive", "cargo", "wrap_help"] }
|
2022-01-13 04:41:49 +00:00
|
|
|
clap_complete = "3.0.3"
|
2022-02-20 23:50:39 +00:00
|
|
|
clap_mangen = "0.1"
|
2021-03-28 20:52:12 +00:00
|
|
|
chrono = "0.4"
|
2021-04-28 13:16:54 +00:00
|
|
|
chrono-humanize = "0.2"
|
2021-03-07 01:39:52 +00:00
|
|
|
serde = { version = "1", features = ["derive"] }
|
2021-03-28 20:52:12 +00:00
|
|
|
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"
|
2021-03-28 20:52:12 +00:00
|
|
|
log = "0.4"
|
2021-11-18 04:22:57 +00:00
|
|
|
strum = "0.23"
|
2021-11-18 04:55:17 +00:00
|
|
|
strum_macros = "0.23"
|
2021-12-09 05:53:51 +00:00
|
|
|
sha2 = "0.10"
|
2021-03-28 20:52:12 +00:00
|
|
|
hex = "0.4"
|
2021-03-02 04:16:06 +00:00
|
|
|
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"
|
2021-02-22 04:11:11 +00:00
|
|
|
httparse = "1"
|
2021-03-28 20:52:12 +00:00
|
|
|
http = "0.2"
|
2021-03-28 20:41:07 +00:00
|
|
|
atty = "0.2"
|
2021-12-27 23:28:27 +00:00
|
|
|
rustls = { version = "0.20", optional = true }
|
2022-02-06 11:31:50 +00:00
|
|
|
rustls-pemfile = { version = "0.3", optional = true }
|
2021-05-07 00:05:09 +00:00
|
|
|
socket2 = "0.4"
|
2021-05-07 15:29:10 +00:00
|
|
|
get_if_addrs = "0.5"
|
2021-08-27 16:23:14 +00:00
|
|
|
|
2021-08-28 03:38:42 +00:00
|
|
|
[features]
|
|
|
|
default = ["tls"]
|
|
|
|
# This feature allows us to use rustls only on architectures supported by ring.
|
2021-08-27 16:23:14 +00:00
|
|
|
# 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
|
2021-12-27 23:28:27 +00:00
|
|
|
tls = ["rustls", "rustls-pemfile", "actix-web/rustls"]
|
2019-04-15 23:43:04 +00:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2021-08-06 04:25:45 +00:00
|
|
|
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"
|
2020-07-21 00:09:24 +00:00
|
|
|
select = "0.5"
|
2021-12-13 04:21:31 +00:00
|
|
|
rstest = "0.12"
|
2021-03-07 01:39:52 +00:00
|
|
|
regex = "1"
|
2021-09-29 04:22:05 +00:00
|
|
|
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]
|
2021-03-28 20:52:12 +00:00
|
|
|
grass = "0.10"
|