forked from TheWaWaR/simple-http-server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
39 lines (37 loc) · 1 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
[package]
name = "simple-http-server"
version = "0.6.8"
authors = ["thewawar <[email protected]>"]
license = "MIT"
description = "Simple HTTP server"
readme = "README.md"
keywords = ["simple", "http", "server", "static", "file"]
repository = "https://github.com/TheWaWaR/simple-http-server"
edition = "2018"
[dependencies]
clap = "2.33.0"
termcolor = "1.0.5"
lazy_static = "1.4.0"
time = "0.1.42"
chrono = "0.4.9"
flate2 = "1.0.11"
filetime = "0.2.7"
pretty-bytes = "0.2.2"
rand = "0.8.3"
url = "2.1.0"
hyper-native-tls = { version = "0.3.0", optional = true }
openssl = { version = "0.10", features = ["vendored"], optional = true }
rustls = { version = "0.20", optional = true }
mime_guess = "2.0"
open = "1"
# Iron crates
iron = "0.6.1"
iron-cors = "0.8.0"
multipart = { version = "0.18", default-features = false, features = ["server", "iron"] }
htmlescape = "0.3.1"
percent-encoding = "2.3.0"
path-dedot = "1"
[features]
default = ["native-tls"]
only-openssl = ["native-tls", "openssl"]
native-tls = ["hyper-native-tls"]