# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies # # If you believe there's an error in this file please file an # issue against the rust-lang/cargo repository. If you're # editing this file be aware that the upstream Cargo.toml # will likely look very different (and much more reasonable) [package] edition = "2018" name = "loadstone" version = "1.0.0" exclude = ["docker/*", "docs/*", "documentation/*", "svd/*"] default-run = "loadstone" description = "Portable secure bootloader for Cortex-M MCUs" readme = "README.md" keywords = ["embedded", "bootloader", "cortex", "secure", "bare_metal"] categories = ["embedded", "no-std"] license = "MIT" repository = "https://github.com/absw/loadstone" [profile.dev] opt-level = 1 lto = true codegen-units = 1 [profile.release] opt-level = "z" lto = true codegen-units = 1 debug = true [lib] name = "loadstone_lib" test = true bench = false [[bin]] name = "loadstone" test = true bench = false [dependencies.alloc-cortex-m] version = "0.4.*" [dependencies.blue_hal] version = "1.0.0" [dependencies.cortex-m] version = "0.6.0" [dependencies.cortex-m-rt] version = "0.6.10" [dependencies.cortex-m-semihosting] version = "0.3.3" [dependencies.crc] version = "1.8.1" default-features = false [dependencies.defmt] version = "0.2" [dependencies.defmt-rtt] version = "0.2" [dependencies.ecdsa] version = "0.11" features = ["pem"] optional = true default-features = false [dependencies.funty] version = "=1.1.0" default-features = false [dependencies.marker-blanket] version = "0.1.*" [dependencies.nb] version = "0.1.*" [dependencies.p256] version = "0.8.*" features = ["ecdsa", "sha256", "pem"] optional = true default-features = false [dependencies.panic-semihosting] version = "0.5.*" [dependencies.sha2] version = "0.9.5" default-features = false [dependencies.static_assertions] version = "1.1.*" [dependencies.ufmt] version = "0.1.*" default-features = false [build-dependencies.anyhow] version = "1.0.*" [build-dependencies.loadstone_config] version = "1.0.0" [build-dependencies.ron] version = "0.6.*" [build-dependencies.serde] version = "1.0.*" [features] cortex_m_any = [] default = ["defmt-default"] defmt-debug = [] defmt-default = [] defmt-error = [] defmt-info = [] defmt-trace = [] defmt-warn = [] ecdsa-verify = ["ecdsa", "p256"] efm32gg11b_any = ["cortex_m_any"] relocate-to-bootable-bank = [] stm32_any = ["cortex_m_any"] stm32f407 = ["blue_hal/stm32f407", "stm32f4_any"] stm32f412 = ["blue_hal/stm32f412", "stm32f4_any"] stm32f429 = ["blue_hal/stm32f429", "stm32f4_any"] stm32f469 = ["blue_hal/stm32f469", "stm32f4_any"] stm32f4_any = ["blue_hal/stm32_any", "stm32_any"] wgm160p = ["blue_hal/wgm160p", "efm32gg11b_any"]