2021-03-23 12:14:33 +00:00
|
|
|
[package]
|
|
|
|
name = "trezor_lib"
|
|
|
|
version = "0.1.0"
|
|
|
|
authors = ["SatoshiLabs <info@satoshilabs.com>"]
|
|
|
|
edition = "2018"
|
|
|
|
resolver = "2"
|
|
|
|
build = "build.rs"
|
|
|
|
|
2021-05-31 13:12:02 +00:00
|
|
|
[features]
|
|
|
|
bitcoin_only = []
|
2021-06-08 11:29:03 +00:00
|
|
|
ui = []
|
|
|
|
ui_debug = []
|
2021-06-12 10:19:31 +00:00
|
|
|
test = ["cc", "glob"]
|
2021-05-31 13:12:02 +00:00
|
|
|
|
2021-03-23 12:14:33 +00:00
|
|
|
[lib]
|
|
|
|
crate-type = ["staticlib"]
|
|
|
|
|
|
|
|
[profile.dev]
|
|
|
|
panic = "abort"
|
|
|
|
split-debuginfo = "unpacked"
|
|
|
|
|
|
|
|
[profile.release]
|
|
|
|
panic = "abort"
|
|
|
|
opt-level = "z"
|
|
|
|
lto = true
|
|
|
|
codegen-units = 1
|
|
|
|
|
2021-06-15 07:54:20 +00:00
|
|
|
[profile.test]
|
|
|
|
split-debuginfo = "unpacked"
|
|
|
|
|
|
|
|
# Runtime dependencies
|
|
|
|
|
|
|
|
[dependencies.cty]
|
|
|
|
version = "0.2.1"
|
2021-03-23 12:14:33 +00:00
|
|
|
|
2021-06-08 11:29:03 +00:00
|
|
|
[dependencies.heapless]
|
|
|
|
version = "0.7.3"
|
|
|
|
default_features = false
|
|
|
|
|
2021-03-23 12:14:33 +00:00
|
|
|
[dependencies.cstr_core]
|
2021-06-08 11:29:03 +00:00
|
|
|
version = "0.2.4"
|
2021-03-23 12:14:33 +00:00
|
|
|
default_features = false
|
|
|
|
|
2021-06-15 07:54:20 +00:00
|
|
|
# Build dependencies
|
|
|
|
|
2021-06-12 10:19:31 +00:00
|
|
|
[build-dependencies.bindgen]
|
2021-06-08 11:29:03 +00:00
|
|
|
version = "0.59.1"
|
2021-06-12 10:19:31 +00:00
|
|
|
default_features = false
|
|
|
|
features = ["runtime"]
|
|
|
|
|
2021-06-15 07:54:20 +00:00
|
|
|
# Build dependencies used for linking the test binary
|
|
|
|
|
2021-06-12 10:19:31 +00:00
|
|
|
[build-dependencies.cc]
|
|
|
|
optional = true
|
2021-06-08 11:29:03 +00:00
|
|
|
version = "1.0.69"
|
2021-06-12 10:19:31 +00:00
|
|
|
|
|
|
|
[build-dependencies.glob]
|
|
|
|
optional = true
|
|
|
|
version = "0.3.0"
|