forked from izderadicka/audioserve
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
79 lines (65 loc) · 1.67 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
[package]
name = "audioserve"
version = "0.11.1"
authors = ["Ivan <[email protected]>"]
edition = "2018"
[dependencies]
pretty_env_logger = "0.3.0"
log = {version="0.4", features = ["release_max_level_info"]}
hyper = "0.12"
headers = "0.2"
futures = "0.1"
mime = "0.3"
mime_guess = "2.0.0-alpha.4"
serde_json = "1.0"
serde = "1.0"
serde_derive = "1.0"
serde_yaml = "0.8"
clap = "2"
lazy_static = "1.2.0"
quick-error = "1.2"
url = "1.7"
percent-encoding = "1.0"
num_cpus = "1.9"
ring = "0.14"
data-encoding = "2.1"
regex = "1.1"
tokio = "0.1.15"
tokio-process = "0.2"
tokio-threadpool = "0.1"
dirs = "1.0"
csv = "1.0"
unicase = "2.3"
unicase_serde = "0.1.0"
linked-hash-map = {git="https://github.com/izderadicka/linked-hash-map.git", features=["serde_impl"]}
# for ssl
tokio-tls = {version="0.2", optional=true}
native-tls = {version="0.2", optional=true}
cachedirtree = {path="crates/cachedirtree", optional=true}
bytes = {version="0.4", optional=true}
media_info = {path="crates/media_info"}
[dependencies.simple-file-cache]
path="crates/file-cache"
features=["asynch"]
optional=true
[dependencies.async-tar]
path="crates/async-tar"
optional=true
[dependencies.websock]
path="crates/websock"
optional = true
[target.'cfg(unix)'.dependencies]
nix = "0.13"
[features]
default = ["tls", "symlinks", "search-cache", "folder-download", "shared-positions"]
tls=["tokio-tls", "native-tls"]
symlinks=["cachedirtree/symlinks"]
search-cache=["cachedirtree"]
transcoding-cache=["simple-file-cache", "bytes"]
folder-download = ["async-tar"]
static = ["media_info/static"]
partially-static = ["media_info/partially-static"]
shared-positions = ["websock"]
[profile.release]
lto = true
codegen-units = 1