forked from bitcoindevkit/rust-cktap
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCargo.toml
More file actions
22 lines (20 loc) · 738 Bytes
/
Copy pathCargo.toml
File metadata and controls
22 lines (20 loc) · 738 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
[workspace]
resolver = "2"
members = ["lib", "cli", "cktap-ffi"]
[workspace.package]
edition = "2024"
authors = ["rust-cktap developers"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/bitcoindevkit/rust-cktap"
rust-version = "1.85.0"
[profile.release-smaller]
inherits = "release"
opt-level = 'z'
lto = true
codegen-units = 1
panic = "abort"
# NOTE: do not set `strip = true` here. uniffi-bindgen's `--library` mode reads
# UNIFFI_META_* symbols from the compiled .so to discover the interface, and
# stripping at compile time removes them. Strip the copies that ship in the
# Android AAR explicitly (e.g. with `llvm-strip`) after bindings have been
# generated — see cktap-android/scripts/release/build-release-*.sh.