36 lines
755 B
TOML
36 lines
755 B
TOML
[package]
|
|
name = "mcuboot-sys"
|
|
version = "0.1.0"
|
|
authors = ["David Brown <david.brown@linaro.org>"]
|
|
description = "A simple wrapper around the mcuboot code."
|
|
build = "build.rs"
|
|
publish = false
|
|
|
|
[features]
|
|
# By default, build with simplistic signature verification.
|
|
default = []
|
|
|
|
# Verify RSA signatures. Note that at this time, the C code will not
|
|
# compile with both sig-rsa and sig-ecdsa enabled.
|
|
sig-rsa = []
|
|
|
|
# Verify ECDSA signatures.
|
|
sig-ecdsa = []
|
|
|
|
# Overwrite only upgrade
|
|
overwrite-only = []
|
|
|
|
[build-dependencies]
|
|
gcc = "0.3.51"
|
|
|
|
[dependencies]
|
|
lazy_static = "0.2"
|
|
libc = "0.2.0"
|
|
log = "0.3"
|
|
simflash = { path = "../simflash" }
|
|
|
|
# Optimize some, even when building for debugging, otherwise the tests
|
|
# are too slow.
|
|
[profile.test]
|
|
opt-level = 1
|