-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
60 lines (52 loc) · 1.96 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
[package]
name = "moonboot"
description = "OTA Bootloader Construction Framework for Rust no_std environments"
version = "0.1.2"
edition = "2021"
license = "MIT OR Apache-2.0"
authors = ["Jan-Henrik Bruhn <rust@jhbruhn.de>"]
repository = "https://github.com/jhbruhn/moonboot"
keywords = ["embedded", "no_std", "bootloader", "framework", "fota"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
moonboot-macros = { path = "./macros", version = "0.1.2" }
heapless = {version = "0.7", features = ["serde"] }
serde = { version = "1.0", features = ["derive"], default-features = false, optional = true }
cortex-m = { version = "0.7", optional = true }
defmt = { version = "0.2", optional = true }
logger-crate = { version = "0.4", optional = true, package = "log" }
crc = "2.0"
desse = { version = "0.2.1", optional = true }
void = { version = "1.0", default-features = false }
embedded-storage = "0.2"
[features]
default = ["ram-state"]
use-log = ["logger-crate"]
use-defmt = ["defmt"]
ram-state = ["desse"]
derive = ["serde"]
defmt-default = []
defmt-trace = []
defmt-debug = []
defmt-info = []
defmt-warn = []
defmt-error = []
[package.metadata.release]
enable-features = ["ram-state", "ram-state", "cortex-m"]
shared-version = true
dependent-version = "upgrade"
pre-release-replacements = [
{file="CHANGELOG.md", search="Unreleased", replace="{{version}}"},
{file="CHANGELOG.md", search="\\.\\.\\.HEAD", replace="...{{tag_name}}", exactly=1},
{file="CHANGELOG.md", search="ReleaseDate", replace="{{date}}"},
{file="CHANGELOG.md", search="<!-- next-header -->", replace="<!-- next-header -->\n\n## [Unreleased] - ReleaseDate", exactly=1},
{file="CHANGELOG.md", search="<!-- next-url -->", replace="<!-- next-url -->\n[Unreleased]: https://github.com/jhbruhn/moonboot/compare/{{tag_name}}...HEAD", exactly=1},
]
[workspace.metadata.release]
shared-version = true
[workspace]
members = [
"macros",
".",
"codegen",
]