-
Notifications
You must be signed in to change notification settings - Fork 22
/
Cargo.toml
43 lines (38 loc) · 1.19 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 = "ydcv-rs"
description = "A rust version of YouDao Console Version"
repository = "https://github.com/farseerfc/ydcv-rs"
readme = "README.md"
license = "GPL-2.0"
version = "0.6.3"
authors = ["Jiachen Yang <farseerfc@gmail.com>"]
edition = "2021"
[dependencies]
structopt = "^0.3"
serde = { version = "^1.0", features = ["derive"]}
serde_json = "^1.0"
env_logger = "^0.10"
rustyline = { version = "^12.0", package = "rustyline-with-newest-nix" }
log = "^0.4"
once_cell = "1.18"
atty = "^0.2"
htmlescape = "0.3"
reqwest = { version = "0.11", default-features = false, features = ["socks", "blocking"]}
rand = "0.8"
md-5 = "0.10"
scraper = "0.18"
copypasta = { version = "0.10", optional = true }
[target.'cfg(windows)'.dependencies]
winrt-notification = {version = "^0.5", optional = true}
[target.'cfg(unix)'.dependencies]
notify-rust = {version = "^4.3", optional = true}
x11-clipboard = {version = "^0.8", optional = true}
[features]
default = [ "notify", "clipboard", "rustls" ]
native-tls = [ "reqwest/native-tls" ]
notify = ["notify-rust", "winrt-notification"]
clipboard = ["copypasta"]
rustls = ["reqwest/rustls-tls"]
[profile.release-lto]
inherits = "release"
lto = true