Skip to content

Commit 414cd46

Browse files
martin auf Linuseldruin
martin auf Linus
authored andcommitted
- Update dependencies for embassy-executor to 0.7.0
- Remove `embassy-executor` feature "integrated-timer". See https://github.com/embassy-rs/embassy/blob/main/embassy-executor/CHANGELOG.md - Switch `embassy-executor` from git to crates.io - Update dependencies for `embassy-stm32` to 0.2.0 - Switch `embassy-stm32` from git to crates.io - Update dependencies for `embassy-time` to 0.4.0 - Switch `embassy-time` from git to crates.io - Update dependencies for `tinybmp` to 0.5.0 - Update root-toolchain to 1.84 for github workflow in ci.yml
1 parent f3a2f7a commit 414cd46

File tree

3 files changed

+38
-18
lines changed

3 files changed

+38
-18
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
runs-on: "ubuntu-latest"
1515
steps:
1616
- uses: actions/checkout@v4
17-
- uses: dtolnay/rust-toolchain@1.79
17+
- uses: dtolnay/rust-toolchain@1.84
1818
with:
1919
components: rustfmt
2020
- run: cargo fmt --all -- --check
@@ -24,7 +24,7 @@ jobs:
2424
runs-on: "ubuntu-latest"
2525
steps:
2626
- uses: actions/checkout@v4
27-
- uses: dtolnay/rust-toolchain@1.79
27+
- uses: dtolnay/rust-toolchain@1.84
2828
- run: cargo test --lib --target x86_64-unknown-linux-gnu
2929
- run: cargo test --doc --target x86_64-unknown-linux-gnu
3030

@@ -65,7 +65,7 @@ jobs:
6565
runs-on: ubuntu-latest
6666
steps:
6767
- uses: actions/checkout@v4
68-
- uses: dtolnay/rust-toolchain@1.79
68+
- uses: dtolnay/rust-toolchain@1.84
6969
with:
7070
components: rustfmt
7171
- run: rustup target add ${{matrix.target}}

CHANGELOG.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,16 @@ SSD1306 monochrome OLED display.
55

66
<!-- next-header -->
77

8-
## [Unreleased] - ReleaseDate
8+
## [Unreleased] - 2025-01-12
9+
- Update dependencies for `embassy-executor` to 0.7.0
10+
- Remove `embassy-executor` feature "integrated-timer". See https://github.com/embassy-rs/embassy/blob/main/embassy-executor/CHANGELOG.md
11+
- Switch `embassy-executor` from git to crates.io
12+
- Update dependencies for `embassy-stm32` to 0.2.0
13+
- Switch `embassy-stm32` from git to crates.io
14+
- Update dependencies for `embassy-time` to 0.4.0
15+
- Switch `embassy-time` from git to crates.io
16+
- Update dependencies for `tinybmp` to 0.5.0
17+
- Update root-toolchain to 1.84 for github workflow in ci.yml
918

1019
## [0.9.0] - 2024-08-30
1120

Cargo.toml

Lines changed: 25 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ readme = "README.md"
1010
repository = "https://github.com/rust-embedded-community/ssd1306"
1111
version = "0.9.0"
1212
edition = "2021"
13-
exclude = [ "build.rs", "build.sh", "memory.x", "doc", "*.jpg", "*.png", "*.bmp" ]
13+
exclude = ["build.rs", "build.sh", "memory.x", "doc", "*.jpg", "*.png", "*.bmp"]
1414
rust-version = "1.75.0"
1515

1616
[package.metadata.docs.rs]
17-
targets = [ "thumbv7m-none-eabi", "thumbv7em-none-eabihf" ]
17+
targets = ["thumbv7m-none-eabi", "thumbv7em-none-eabihf"]
1818
all-features = true
1919

2020
[dependencies]
@@ -23,7 +23,7 @@ display-interface = "0.5.0"
2323
display-interface-i2c = "0.5.0"
2424
display-interface-spi = "0.5.0"
2525
embedded-graphics-core = { version = "0.4.0", optional = true }
26-
embedded-hal-async = { version = "1.0.0", optional = true }
26+
embedded-hal-async = { version = "1.0.0", optional = true }
2727
maybe-async-cfg = "=0.2.4"
2828

2929
[dev-dependencies]
@@ -37,31 +37,42 @@ defmt = "0.3.6"
3737
defmt-rtt = "0.4.0"
3838
panic-probe = { version = "0.3.1", features = ["print-defmt"] }
3939
# Used to load BMP images in various examples
40-
tinybmp = "0.5.0"
40+
tinybmp = "0.6.0"
4141
# Used by the noise_i2c examples
42-
rand = { version = "0.8.4", default-features = false, features = [ "small_rng" ] }
43-
embassy-embedded-hal = { version = "0.2.0", default-features=false }
44-
embassy-executor = { version = "0.6.0", git = "https://github.com/embassy-rs/embassy", features = ["arch-cortex-m", "executor-thread", "defmt", "integrated-timers"] }
45-
embassy-stm32 = { version = "0.1.0", git = "https://github.com/embassy-rs/embassy", features = [ "stm32f103c8", "memory-x", "defmt", "exti", "time-driver-tim3" , "unstable-pac"] }
46-
embassy-time = { version = "0.3.1", git = "https://github.com/embassy-rs/embassy" }
42+
rand = { version = "0.8.4", default-features = false, features = ["small_rng"] }
43+
embassy-embedded-hal = { version = "0.3.0", default-features = false }
44+
embassy-executor = { version = "0.7.0", features = [
45+
"arch-cortex-m",
46+
"executor-thread",
47+
"defmt",
48+
] }
49+
embassy-stm32 = { version = "0.2.0", features = [
50+
"stm32f103c8",
51+
"memory-x",
52+
"defmt",
53+
"exti",
54+
"time-driver-tim3",
55+
"unstable-pac",
56+
] }
57+
embassy-time = { version = "0.4.0" }
4758
embassy-futures = "0.1.1"
48-
embedded-hal-bus = { version = "0.2.0", features = ["async"]}
59+
embedded-hal-bus = { version = "0.2.0", features = ["async"] }
4960

5061
[features]
5162
default = ["graphics"]
5263
graphics = ["embedded-graphics-core"]
53-
async = [ "dep:embedded-hal-async" ]
64+
async = ["dep:embedded-hal-async"]
5465

5566
[[example]]
5667
name = "async_i2c_spi"
57-
required-features = [ "async" ]
68+
required-features = ["async"]
5869

5970
[[example]]
6071
name = "async_terminal_i2c"
61-
required-features = [ "async" ]
72+
required-features = ["async"]
6273

6374
[profile.dev]
64-
opt-level="s"
75+
opt-level = "s"
6576
codegen-units = 1
6677
incremental = false
6778

0 commit comments

Comments
 (0)