-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
54 lines (46 loc) · 1.23 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
[package]
name = "secretnote"
version = "1.2.1"
authors = ["Markus Bauer <secretnote@mk-bauer.de>"]
edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
actix = "^0.10.0"
actix-files = "^0.5.0"
actix-redis = "^0.9.1"
actix-http = "^2.2.0"
actix-utils = "^2.0.0"
actix-web = { version = "^3.3.2", features = ["rustls"] }
actix-web-actors = "^3.0.0"
aes-gcm = "0.8.0"
backoff = "^0.2.1"
base64 = "^0.12.3"
bytes = "^0.5.6"
cached = "^0.22.0"
clap = "^3.0.0-beta.2"
env_logger = "^0.8.2"
futures = "^0.3.8"
lazy_static = "^1.4.0"
log = "^0.4.11"
num_cpus = "^1.13.0"
rand = "^0.7.3"
redis-async = "^0.6.3"
regex = "^1.4.2"
reqwest = {version = "^0.10.10", features = ["json", "rustls-tls"], default-features = false}
rust-crypto = "^0.2"
rustls = "^0.18.1"
serde = "^1.0.118"
serde_json = "^1.0.60"
tokio = {version = "^0.2.24", features = ["full"]}
tokio-util = "^0.3.1"
[profile.release]
panic = 'abort' # 8,6MB => 7.6MB
lto = true # 13MB => 8,6MB
opt-level = 'z' # 8.6MB => 8.6MB
#codegen-units = 1 # 8.6MB => 8.2MB, compile times x2
[[bin]]
name = "secretnote-statistics-exporter"
path = "src/statistics/statistics.rs"
[[bin]]
name = "secretnote-cli"
path = "src/cli/cli.rs"