forked from everx-labs/ever-bls-lib
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
41 lines (35 loc) · 1.1 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
[package]
edition = "2021"
name = "gosh_bls_lib"
version = "0.4.0"
[profile.profiling]
debug = 1
inherits = 'release'
[profile.dev]
# Must always use panic = "abort" to avoid needing to define the unstable eh_personality lang item.
panic = "abort"
# Enable only a small amount of optimization in debug mode
opt-level = 1
# Enable high optimizations for dependencies, but not for our code:
[profile.dev.package."*"]
opt-level = 3
[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.
[dependencies]
anyhow = "1.0.80"
blst = { features = ["portable"], version = "0.3.5" }
clap = { version = "4.5.3", features = ["derive"] }
criterion = "0.3"
failure = "0.1"
hex = "0.4.3"
rand = "0.7"
rand_chacha = "0.2"
tvm_types = { git = "https://github.com/tvmlabs/tvm-types", tag = "3.0.1" }
serde = { version = "1.0.197", features = ["derive"] }
serde_json = "1.0.117"
[[bin]]
name = "bls_keypair_gen"