-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
Cargo.toml
43 lines (38 loc) · 1.5 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
[package]
name = "aliyundrive-webdav"
version = "0.1.22"
edition = "2018"
description = "WebDAV server for AliyunDrive"
license = "MIT"
homepage = "https://github.com/messense/aliyundrive-webdav"
repository = "https://github.com/messense/aliyundrive-webdav.git"
readme = "README.md"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
anyhow = "1.0.43"
bytes = "1.0.1"
futures-util = "0.3.16"
headers = "0.3.4"
hyper = { version = "0.14.11", features = ["server"] }
moka = { version = "0.5.1", features = ["future"] }
openssl-probe = { version = "0.1.4", optional = true }
percent-encoding = "2.1.0"
reqwest = { version = "0.11.4", default-features = false, features = ["json", "gzip"] }
serde = { version = "1.0.127", features = ["derive"] }
structopt = "0.3.22"
time = { version = "0.3.1", features = ["formatting", "parsing"] }
tokio = { version = "1.10.0", features = ["rt-multi-thread", "io-util", "net", "time", "sync", "macros", "parking_lot"] }
tracing = "0.1.26"
tracing-subscriber = "0.2.20"
url = "2.2.2"
webdav-handler = { version = "0.2.0", default-features = false, features = ["hyper"] }
[features]
default = ["rustls-tls"]
rustls-tls = ["reqwest/rustls-tls"]
native-tls = ["reqwest/native-tls"]
native-tls-vendored = ["reqwest/native-tls-vendored", "openssl-probe"]
[patch.crates-io]
webdav-handler = { git = "https://github.com/messense/webdav-handler-rs.git", branch = "aliyundrive" }
[profile.release]
lto = true
opt-level = "z" # Optimize for size