rust-bitcoin-unsafe-fast/bitcoin/embedded/Cargo.toml

44 lines
965 B
TOML
Raw Permalink Normal View History

2021-05-15 15:12:27 +00:00
[package]
authors = ["Riccardo Casatta <riccardo@casatta.it>", "Dev Random <c1.devrandom@niftybox.net>"]
edition = "2021"
2021-05-15 15:12:27 +00:00
readme = "README.md"
name = "embedded"
version = "0.1.0"
# Prevent this from interfering with workspaces
[workspace]
members = ["."]
2021-05-15 15:12:27 +00:00
[dependencies]
cortex-m = "0.6.0"
cortex-m-rt = "0.6.10"
cortex-m-semihosting = "0.3.3"
panic-halt = "0.2.0"
alloc-cortex-m = "0.4.1"
bitcoin = { path="../", default-features = false, features = ["secp-lowmemory"] }
2021-05-15 15:12:27 +00:00
[[bin]]
name = "embedded"
test = false
bench = false
[profile.release]
codegen-units = 1 # better optimizations
debug = true # symbols are nice and they don't increase the size on Flash
lto = true # better optimizations
[patch.crates-io.base58ck]
path = "../../base58"
[patch.crates-io.bitcoin_hashes]
path = "../../hashes"
[patch.crates-io.bitcoin-internals]
path = "../../internals"
[patch.crates-io.bitcoin-io]
path = "../../io"
[patch.crates-io.bitcoin-units]
path = "../../units"