2018-04-26 17:32:25 +00:00
|
|
|
[package]
|
|
|
|
name = "miniserve"
|
2021-10-26 01:05:57 +00:00
|
|
|
version = "0.18.0"
|
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]
|
2021-08-28 21:40:32 +00:00
|
|
|
actix-web = "4.0.0-beta.8"
|
|
|
|
actix-files = "0.6.0-beta.6"
|
|
|
|
actix-multipart = "0.4.0-beta.5"
|
|
|
|
actix-web-httpauth = "0.6.0-beta.2"
|
2021-11-12 04:21:23 +00:00
|
|
|
maud = "0.23"
|
2021-04-18 02:52:22 +00:00
|
|
|
yansi = "0.5"
|
2021-03-28 20:46:32 +00:00
|
|
|
simplelog = "0.10"
|
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"
|
2021-10-18 19:43:42 +00:00
|
|
|
clap = { version = "3.0.0-beta.5", features = ["wrap_help"] }
|
|
|
|
clap_generate = "3.0.0-beta.5"
|
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-10-11 04:26:17 +00:00
|
|
|
strum = "0.22"
|
2021-10-11 17:09:35 +00:00
|
|
|
strum_macros = "0.22"
|
2020-06-26 09:50:10 +00:00
|
|
|
sha2 = "0.9"
|
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-08-28 21:40:32 +00:00
|
|
|
rustls = { version = "0.19", 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-08-28 03:38:42 +00:00
|
|
|
tls = ["rustls", "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-08-02 04:29:42 +00:00
|
|
|
rstest = "0.11"
|
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"
|
2021-04-18 06:29:34 +00:00
|
|
|
|
|
|
|
# This needs to stay here at least until https://github.com/abonander/mime_guess/pull/66 is merged.
|
|
|
|
# Also see https://github.com/svenstaro/miniserve/issues/160
|
|
|
|
[patch.crates-io]
|
|
|
|
mime_guess = { git = "https://github.com/svenstaro/mime_guess.git" }
|