-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
40 lines (37 loc) · 1.49 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
[package]
name = "transportal"
version = "0.1.1"
edition = "2021"
# htmx and the sse extension (which are bundled with the application) are
# licensed under 0BSD
license = "AGPL-3.0-or-later AND 0BSD"
repository = "https://github.com/stevenengler/transportal"
description = "A responsive web interface and server for Transmission."
categories = ["command-line-utilities"]
keywords = ["transmission", "torrent", "bittorrent", "web"]
[dependencies]
anyhow = "1.0.82"
askama = { version = "0.12.1", default_features = false, features = ["percent-encoding"] }
askama_axum = { version = "0.4.0", default_features = false }
axum = { version = "0.7.5", features = ["http2"] }
clap = { version = "4.5.4", features = ["derive"] }
cookie = "0.18.1"
flate2 = "1.0.30"
futures-util = "0.3.30"
hyper = "1.3.1"
hyper-util = "0.1.3"
rand = "0.8.5"
# disable the "default-tls" feature since we don't need it and it requires "libssl-dev"
reqwest = { version = "0.12.4", default-features = false, features = ["charset", "json"] }
serde = { version = "1.0.198", features = ["derive"] }
serde_json = "1.0.116"
tokio = { version = "1.37.0", features = ["macros", "rt-multi-thread"] }
tokio-stream = "0.1.15"
toml = { version = "0.8.12", default-features = false, features = ["parse"] }
tower = "0.4.13"
tower-http = { version = "0.5.2", features = ["compression-gzip"] }
[target.'cfg(target_os = "linux")'.dependencies]
libc = "0.2.153"
[features]
# allow connections to the upstream transmission server over TLS
tls = ["reqwest/default-tls"]