mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-22 14:28:07 +00:00
6257584951
core: Remove dangling module decls
core: Use new Cargo feature resolver, use external MacOS debug info
core: Rust docs improvements
core: Upgrade bindgen
core: Add test target to Rust
ci: build rust sources
build(core): .ARM.exidx.text.__aeabi_ui2f in t1 firmware size
It's an unwind table for softfloat function inserted by rustc, probably
can be removed to save 8 bytes:
599c58db70/link.x.in (L175-L182)
scons: Remove dead code
core: Move Rust target to build/rust
core: Replace extern with a FFI version
core: Add some explanatory Rust comments
core: Use correct path for the Rust lib
core: Remove Buffer::as_mut()
Mutable buffer access needs MP_BUFFER_WRITE flag. TBD in the Protobuf PR.
core: Improve docs for micropython::Buffer
core: Minor Rust docs changes
core: Rewrite trezor_obj_get_ll_checked
core: Fix incorrect doc comment
core: Remove cc from deps
fixup! core: Rewrite trezor_obj_get_ll_checked
core: update safety comments
35 lines
532 B
TOML
35 lines
532 B
TOML
[package]
|
|
name = "trezor_lib"
|
|
version = "0.1.0"
|
|
authors = ["SatoshiLabs <info@satoshilabs.com>"]
|
|
edition = "2018"
|
|
resolver = "2"
|
|
build = "build.rs"
|
|
|
|
[lib]
|
|
crate-type = ["staticlib"]
|
|
|
|
[profile.dev]
|
|
panic = "abort"
|
|
split-debuginfo = "unpacked"
|
|
|
|
[profile.release]
|
|
panic = "abort"
|
|
opt-level = "z"
|
|
lto = true
|
|
codegen-units = 1
|
|
|
|
[dependencies]
|
|
cty = "0.2.1"
|
|
|
|
[dependencies.staticvec]
|
|
version = "0.10.5"
|
|
default_features = false
|
|
|
|
[dependencies.cstr_core]
|
|
version = "0.2.2"
|
|
default_features = false
|
|
|
|
[build-dependencies]
|
|
bindgen = "0.58.0"
|