-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
45 lines (38 loc) · 1.03 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
[package]
name = "tinysh"
version = "0.1.0"
edition = "2021"
[dependencies]
p256 = { version = "*", features = ["ecdh", "ecdsa", "pem"] }
rand_chacha = "*"
rand_core = "*"
libc = "*"
anyhow = { version = "*" }
thiserror = "*"
sha2 = "*"
aes-gcm = { version = "0.10.1", features = ["aes", "heapless"] }
lazy_static = "*"
clap = { version = "*", features = ["derive"] }
os_pipe = "*"
base64ct = "*"
termion = "*"
[dev-dependencies]
rand = { version = "*", features = ["small_rng"] }
[profile.dev]
# Must always use panic = "abort" to avoid needing to define the unstable eh_personality lang item.
panic = "unwind"
[profile.release]
opt-level = "z" # Optimize for size.
lto = true # Enable Link Time Optimization
codegen-units = 1 # Reduce number of codegen units to increase optimizations.
panic = "abort" # Abort on panic
strip = true # Automatically strip symbols from the binary.
[profile.bloat]
inherits = "release"
strip = false
[[bin]]
name = "tshl"
path = "src/tshl.rs"
[[bin]]
name = "tshr"
path = "src/tshr.rs"