summaryrefslogtreecommitdiff
path: root/Cargo.toml
blob: 565147b58e890b6147c2f5338a3d1080c5d03b27 (plain)
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
[package]
name = "gnix"
version = "1.0.0"
edition = "2021"

[dependencies]

# HTTP
hyper = { version = "1.0.0-rc.4", features = ["full"] }
hyper-util = "0.0.0"
http-body-util = "0.1.0-rc.3"
headers = "0.3.8"
percent-encoding = "2.3.0"
base64 = "0.21.5"

# TLS
rustls-pemfile = "1.0.3"
rustls = "0.21.6"
tokio-rustls = "0.24.1"

# Async stuff
tokio = { version = "1.32.0", features = ["full"] }
tokio-util = { version = "0.7.8", features = ["io"] }
futures-util = "0.3.28"
futures = "0.3.28"
pin-project = "1.1.3"

# Config
serde = { version = "1.0.188", features = ["derive"] }
serde_yaml = "0.9.25"
inotify = "0.10.2"

# Logging
env_logger = "0.10.0"
log = "0.4.20"

# Fileserver related
markup = "0.13.1"
humansize = "2.1.3"
mime_guess = "2.0.4"


bytes = "1.4.0"
anyhow = "1.0.75"
thiserror = "1.0.47"

mond-client = { git = "https://codeberg.org/metamuffin/mond", optional = true }

[features]
default = []
mond = ["dep:mond-client"]