Skip to content

Commit 7961e95

Browse files
authored
Merge pull request #69 from swobbee-dev/master
Upgrade dependencies (including defmt v1.0 support)
2 parents 7cba362 + 8187a73 commit 7961e95

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

examples-cortex-m/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ edition = "2018"
88
defmt = ["dep:defmt", "rtt-target/defmt"]
99

1010
[dependencies]
11-
cortex-m = { version = "0.7.6", features = ["critical-section-single-core"] }
11+
cortex-m = { version = "0.7.7", features = ["critical-section-single-core"] }
1212
cortex-m-rt = "0.7"
13-
panic-halt = "0.2.0"
13+
panic-halt = "1.0.0"
1414
rtt-target = { path = "../rtt-target" }
1515
ufmt = "0.2.0"
16-
defmt = { version = "0.3.0", optional = true }
16+
defmt = { version = "1.0.1", optional = true }
1717

1818
[[bin]]
1919
name = "custom"

panic-rtt-target/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ repository = "https://github.com/probe-rs/rtt-target"
1414

1515
[dependencies]
1616
rtt-target = {version = "0.6.0", path = "../rtt-target" }
17-
critical-section = "1.1.1"
18-
portable-atomic = { version = "1.6.0", default-features = false }
17+
critical-section = "1.2.0"
18+
portable-atomic = { version = "1.13.1", default-features = false }
1919

20-
defmt = { version = "0.3.0", optional = true }
20+
defmt = { version = "1.0.1", optional = true }
2121

2222
[features]
2323
default = []

rtt-target/Cargo.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ log_racy_init = [] # use log::set_logger_racy instead of log::set_logger
1616

1717
[dependencies]
1818
ufmt-write = "0.1.0"
19-
critical-section = "1.0.0"
20-
portable-atomic = { version = "1.6.0", default-features = false }
19+
critical-section = "1.2.0"
20+
portable-atomic = { version = "1.13.1", default-features = false }
2121

22-
defmt = { version = "0.3.0", optional = true }
23-
log = {version = "0.4.22", optional = true}
24-
once_cell = { version = "1.20.2" , features = ["critical-section"], default-features = false, optional = true}
22+
defmt = { version = "1.0.1", optional = true }
23+
log = {version = "0.4.29", optional = true}
24+
once_cell = { version = "1.21.3" , features = ["critical-section"], default-features = false, optional = true}
2525

2626
[package.metadata.docs.rs]
2727
all-features = true

0 commit comments

Comments
 (0)