2018-04-26 17:32:25 +00:00
|
|
|
[package]
|
|
|
|
name = "miniserve"
|
2023-03-01 03:08:11 +00:00
|
|
|
version = "0.23.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"
|
2022-11-28 11:09:00 +00:00
|
|
|
resolver = "2"
|
2018-04-26 17:32:25 +00:00
|
|
|
|
2018-05-17 11:28:50 +00:00
|
|
|
[profile.release]
|
2022-08-11 03:25:18 +00:00
|
|
|
codegen-units = 1
|
2018-05-17 11:28:50 +00:00
|
|
|
lto = true
|
2019-02-27 23:43:37 +00:00
|
|
|
opt-level = 'z'
|
|
|
|
panic = 'abort'
|
2022-08-10 16:11:54 +00:00
|
|
|
strip = true
|
2018-05-17 11:28:50 +00:00
|
|
|
|
2018-04-26 17:32:25 +00:00
|
|
|
[dependencies]
|
2022-03-02 08:42:40 +00:00
|
|
|
actix-files = "0.6"
|
2023-01-22 09:03:43 +00:00
|
|
|
actix-multipart = "0.5"
|
2022-09-20 01:37:56 +00:00
|
|
|
actix-web = { version = "4", features = ["macros", "compress-brotli", "compress-gzip", "compress-zstd"], default-features = false }
|
2022-07-22 15:38:47 +00:00
|
|
|
actix-web-httpauth = "0.8"
|
2021-03-07 01:39:52 +00:00
|
|
|
alphanumeric-sort = "1"
|
2022-08-11 03:25:18 +00:00
|
|
|
anyhow = "1"
|
|
|
|
atty = "0.2"
|
|
|
|
bytesize = "1"
|
|
|
|
chrono = "0.4"
|
|
|
|
chrono-humanize = "0.2"
|
2022-10-14 12:04:51 +00:00
|
|
|
clap = { version = "4", features = ["derive", "cargo", "wrap_help", "deprecated"] }
|
2022-10-06 08:16:15 +00:00
|
|
|
clap_complete = "4"
|
|
|
|
clap_mangen = "0.2"
|
2023-04-03 05:02:03 +00:00
|
|
|
comrak = { version = "0.18", default-features = false }
|
2023-01-22 09:03:43 +00:00
|
|
|
fast_qr = { version = "0.8", features = ["svg"] }
|
2021-03-28 20:52:12 +00:00
|
|
|
futures = "0.3"
|
2022-08-11 03:25:18 +00:00
|
|
|
get_if_addrs = "0.5"
|
|
|
|
hex = "0.4"
|
|
|
|
http = "0.2"
|
|
|
|
httparse = "1"
|
2021-03-07 01:39:52 +00:00
|
|
|
libflate = "1"
|
2021-03-28 20:52:12 +00:00
|
|
|
log = "0.4"
|
2022-09-26 13:12:30 +00:00
|
|
|
maud = "0.24"
|
2020-09-24 02:39:19 +00:00
|
|
|
mime = "0.3"
|
2022-08-11 03:25:18 +00:00
|
|
|
nanoid = "0.4"
|
|
|
|
percent-encoding = "2"
|
|
|
|
port_check = "0.1"
|
2022-09-19 19:54:27 +00:00
|
|
|
regex = "1"
|
2021-12-27 23:28:27 +00:00
|
|
|
rustls = { version = "0.20", optional = true }
|
2022-04-15 04:18:32 +00:00
|
|
|
rustls-pemfile = { version = "1.0", optional = true }
|
2022-08-11 03:25:18 +00:00
|
|
|
serde = { version = "1", features = ["derive"] }
|
|
|
|
sha2 = "0.10"
|
|
|
|
simplelog = "0.12"
|
2023-03-01 02:43:22 +00:00
|
|
|
socket2 = "0.5"
|
2022-10-06 08:16:15 +00:00
|
|
|
strum = { version = "0.24", features = ["derive"] }
|
2022-08-11 03:25:18 +00:00
|
|
|
tar = "0.4"
|
|
|
|
thiserror = "1"
|
|
|
|
yansi = "0.5"
|
|
|
|
zip = { version = "0.6.2", default-features = false }
|
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-03-07 01:39:52 +00:00
|
|
|
assert_fs = "1"
|
2023-03-25 01:13:21 +00:00
|
|
|
predicates = "3"
|
2022-03-14 04:13:34 +00:00
|
|
|
pretty_assertions = "1.2"
|
2022-09-01 12:20:27 +00:00
|
|
|
regex = "1"
|
2022-08-11 03:25:18 +00:00
|
|
|
reqwest = { version = "0.11", features = ["blocking", "multipart", "rustls-tls"], default-features = false }
|
2023-03-25 01:13:21 +00:00
|
|
|
rstest = "0.17"
|
2022-12-19 00:04:55 +00:00
|
|
|
select = "0.6"
|
2021-03-07 01:39:52 +00:00
|
|
|
url = "2"
|
2020-09-26 21:07:24 +00:00
|
|
|
|
2022-07-22 16:46:55 +00:00
|
|
|
[target.'cfg(not(windows))'.dev-dependencies]
|
|
|
|
# fake_tty does not support Windows for now
|
2022-09-19 12:21:43 +00:00
|
|
|
fake-tty = "0.3.1"
|
2022-07-22 16:46:55 +00:00
|
|
|
|
2020-09-26 21:07:24 +00:00
|
|
|
[build-dependencies]
|
2022-12-29 07:30:59 +00:00
|
|
|
grass = { version = "0.12", default-features = false }
|