-
Notifications
You must be signed in to change notification settings - Fork 2
/
Cargo.toml
75 lines (61 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
[package]
name = "fie"
version = "0.16.3"
authors = ["Douman <[email protected]>"]
repository = "https://github.com/DoumanAsh/fie"
description = "Small and cute social media utility."
keywords = ["twitter", "gab", "minds", "mastodon"]
license = "Apache-2.0"
readme = "README.md"
include = [
"**/*.rs",
"Cargo.toml",
"README.md"
]
edition = "2018"
[dependencies.yukikaze]
version = "1.0.0"
features = ["encoding"]
[dependencies.structopt]
version = "0.3"
optional = true
features = ["wrap_help", "suggestions"]
[dependencies.tokio]
version = "0.2"
default-features = false
features = ["rt-core", "io-driver", "macros"]
optional = true
[dependencies.log]
version = "0.4"
# It is supposed to be compile time elimination, but actually it is not :(
# Though likely these ifs will be constexpr
features = ["release_max_level_off"]
optional = true
[dependencies]
memmap = "0.7"
data-encoding = "2"
percent-encoding = "2.1"
rand = "0.7"
ring = "0.16"
serde = "1"
serde_derive = "1"
mime_guess = "2"
toml = { version = "0.5", optional = true }
dirs = { version = "3", optional = true }
futures-util = { version = "0.3" }
[features]
cli = ["structopt", "toml", "dirs", "tokio", "log"]
[[bin]]
name = "fie"
path = "src/cli/main.rs"
required-features = ["cli"]
[lib]
name = "fie"
path = "src/lib/lib.rs"
[profile.release]
lto = true
opt-level = "z"
codegen-units = 1
[badges]
appveyor = { repository = "DoumanAsh/fie", branch = "master", service = "github" }
travis-ci = { repository = "DoumanAsh/fie", branch = "master" }