-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
38 lines (30 loc) · 1.15 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
[package]
name = "secp-ffi"
version = "0.1.0"
edition = "2021"
license = "MIT OR Apache-2.0"
[lib]
crate-type = ["lib", "staticlib", "cdylib"]
name = "secpffi"
[[bin]]
name = "uniffi-bindgen"
path = "uniffi-bindgen.rs"
[features]
default = ["uniffi/cli"]
[dependencies]
secp256k1 = { version = "0.29.0", features = ["alloc", "rand-std", "hashes-std", "recovery", "global-context", "serde"] }
#serde = { version = "1.0.209", default-features = false, optional = true }
#hashes = { package = "bitcoin_hashes", version = "0.14", default-features = false, optional = true }
#rand = { version = "0.8", default-features = false, optional = true }
uniffi = { version = "0.28.1", features = ["cli"] }
[build-dependencies]
uniffi = { version = "0.28.1", features = ["build"] }
[dev-dependencies]
#uniffi = { version = "0.28.0", features = ["bindgen-tests"] }
[profile.release-smaller]
inherits = "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 = "debuginfo" # Partially strip symbols from binary