-
Notifications
You must be signed in to change notification settings - Fork 2
/
Cargo.toml
60 lines (57 loc) · 1.36 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
[package]
name = "rusty-share"
version = "0.1.0"
edition = "2021"
[dependencies]
async-stream = "0.3"
axum = "0.6"
bytes = "1.1"
bytesize = "1.0"
chrono = { version = "0.4", default-features = false }
chrono-humanize = "0.2"
futures-util = { version = "0.3", default-features = false }
futures-executor = { version = "0.3", default-features = false, features = [
"std",
] }
headers = "0.3"
hex = "0.4"
horrorshow = { version = "0.8", default-features = false, features = ["alloc"] }
http = "0.2"
http-serve = "0.3"
hyper = { version = "0.14", features = [
"http1",
"http2",
"server",
"stream",
"tcp",
] }
mime_guess = "2.0"
os_str_bytes = "4.2"
percent-encoding = "2.1"
pico-args = "0.4"
rayon = "1.5"
r2d2 = "0.8"
r2d2_sqlite = "0.19"
rand_core = { version = "0.6.2", features = ["getrandom"] }
rusqlite = "0.26"
scrypt = { version = "0.8" }
serde = { version = "1.0", features = ["derive"] }
tar = { version = "0.4", default-features = false }
tokio = { version = "1.6", features = [
"fs",
"net",
"rt",
"rt-multi-thread",
"sync",
] }
tower-http = { version = "0.1", features = ["trace", "fs"] }
tracing = "0.1"
tracing-subscriber = "0.2"
url = "2.2"
walkdir = "2.4"
async-trait = "0.1.73"
tower-cookies = "0.9.0"
[features]
default = ["bundled-windows"]
bundled-sqlite = ["rusqlite/bundled"]
bundled-windows = ["rusqlite/bundled-windows"]