-
Notifications
You must be signed in to change notification settings - Fork 24
/
Cargo.toml
56 lines (52 loc) · 1.7 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
[package]
name = "althea_rs"
version = "0.1.11"
authors = ["Stan Drozd <[email protected]>"]
edition = "2018"
[workspace]
members = [
"althea_kernel_interface",
"settings",
"clu",
"antenna_forwarding_client",
"antenna_forwarding_protocol",
"auto_bridge",
"rita_common",
"rita_exit",
"rita_client",
"rita_db_migration",
"rita_bin",
"test_runner",
"integration_tests",
"exit_trust_root",
]
# Production relase profile, every trick is used to reduce binary size
[profile.release]
opt-level = "z"
strip = true
lto = true
codegen-units = 1
incremental = false
# testrunner should be fast to execute but also to compile
# making the binary smaller does us no good since it's not going
# on a router and not even being uploaded anywhere
[profile.testrunner]
inherits = "dev"
opt-level = 2
[workspace.dependencies]
deep_space = {version = "2.26", features = ["althea"], default-features=false}
web30 = "1.4"
clarity = "1.4"
awc = {version = "3.5", default-features = false, features=["openssl", "compress-gzip", "compress-zstd"]}
actix-web = { version = "4.9", default-features = false, features = ["openssl", "compress-gzip", "compress-zstd", "macros"] }
actix-web-httpauth = {version = "0.8.2"}
actix = "0.13"
actix-rt = "2.10"
althea_proto = "0.9"
# we don't call or us OpenSSL directly in this codebase, but by adding
# this dependency with this feature we can enforce that openssl is compiled
# in 'vendored' mode all the way down the tree. What this means is that we use
# an openssl implementation from the crate and not from the system, simplifying
# our build process for a lot of cross-compile situations
openssl = {version = "0.10", features = ["vendored"]}
openssl-probe = "0.1"