Skip to content

Commit 3774056

Browse files
Prepare release (#30)
* ci: Bump actions/checkout version * build: Update deps * build: Bump esp-idf-part version
1 parent 84e7f9d commit 3774056

File tree

3 files changed

+19
-19
lines changed

3 files changed

+19
-19
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
toolchain: ["1.67.0", stable]
3333

3434
steps:
35-
- uses: actions/checkout@v3
35+
- uses: actions/checkout@v4
3636
- uses: dtolnay/rust-toolchain@v1
3737
with:
3838
toolchain: ${{ matrix.toolchain }}
@@ -50,7 +50,7 @@ jobs:
5050
runs-on: ubuntu-latest
5151

5252
steps:
53-
- uses: actions/checkout@v3
53+
- uses: actions/checkout@v4
5454
- uses: dtolnay/rust-toolchain@stable
5555
- uses: Swatinem/rust-cache@v2
5656

@@ -64,7 +64,7 @@ jobs:
6464
runs-on: ubuntu-latest
6565

6666
steps:
67-
- uses: actions/checkout@v3
67+
- uses: actions/checkout@v4
6868
- uses: dtolnay/rust-toolchain@stable
6969
with:
7070
components: clippy
@@ -77,7 +77,7 @@ jobs:
7777
runs-on: ubuntu-latest
7878

7979
steps:
80-
- uses: actions/checkout@v3
80+
- uses: actions/checkout@v4
8181
- uses: dtolnay/rust-toolchain@nightly
8282
with:
8383
components: rustfmt

Cargo.toml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "esp-idf-part"
3-
version = "0.4.1"
3+
version = "0.5.0"
44
authors = ["Jesse Braham <[email protected]>"]
55
edition = "2021"
66
rust-version = "1.67.0"
@@ -14,16 +14,16 @@ categories = ["embedded", "parsing"]
1414
rustdoc-args = ["--cfg", "docsrs"]
1515

1616
[dependencies]
17-
csv = { version = "1.2.2", optional = true }
17+
csv = { version = "1.3.0", optional = true }
1818
deku = { version = "0.16.0", optional = true }
19-
heapless = { version = "0.7.16", features = ["serde"]}
19+
heapless = { version = "0.8.0", features = ["serde"]}
2020
md5 = { version = "0.7.0", default-features = false }
2121
parse_int = { version = "0.6.0", optional = true }
22-
regex = { version = "1.8.4", optional = true }
23-
serde = { version = "1.0.163", default-features = false, features = ["derive"] }
24-
serde_plain = "1.0.1"
25-
strum = { version = "0.24.1", default-features = false, features = ["derive"] }
26-
thiserror = { version = "1.0.40", optional = true }
22+
regex = { version = "1.10.3", optional = true }
23+
serde = { version = "1.0.196", default-features = false, features = ["derive"] }
24+
serde_plain = "1.0.2"
25+
strum = { version = "0.26.1", default-features = false, features = ["derive"] }
26+
thiserror = { version = "1.0.57", optional = true }
2727

2828
[features]
2929
default = ["std"]

src/partition/mod.rs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ use deku::{DekuEnumExt, DekuError, DekuRead};
55
use serde::{Deserialize, Serialize};
66
#[cfg(feature = "std")]
77
use strum::IntoEnumIterator;
8-
use strum::{EnumIter, EnumString, EnumVariantNames, FromRepr};
8+
use strum::{EnumIter, EnumString, FromRepr, VariantNames};
99

1010
#[cfg(feature = "std")]
1111
pub(crate) use self::de::{DeserializedBinPartition, DeserializedCsvPartition};
@@ -27,7 +27,7 @@ pub(crate) const MAX_NAME_LEN: usize = 16;
2727
/// exceed `0xFE`.
2828
///
2929
/// For additional information regarding the supported partition types, please
30-
/// refer to the ESP-IDF documentation:
30+
/// refer to the ESP-IDF documentation:
3131
/// <https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-guides/partition-tables.html#type-field>
3232
#[derive(Debug, Clone, Copy, PartialEq, Eq, Deserialize, Serialize)]
3333
#[cfg_attr(
@@ -107,7 +107,7 @@ impl Type {
107107
/// is [`Type::Custom`].
108108
///
109109
/// For additional information regarding the supported partition subtypes,
110-
/// please refer to the ESP-IDF documentation:
110+
/// please refer to the ESP-IDF documentation:
111111
/// <https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-guides/partition-tables.html#subtype>
112112
#[derive(Debug, Clone, Copy, PartialEq, Eq, Deserialize, Serialize)]
113113
#[serde(untagged)]
@@ -174,7 +174,7 @@ impl SubType {
174174

175175
/// Partition sub-types which can be used with [`Type::App`] partitions
176176
///
177-
/// A full list of support subtypes can be found in the ESP-IDF documentation:
177+
/// A full list of support subtypes can be found in the ESP-IDF documentation:
178178
/// <https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-guides/partition-tables.html#subtype>
179179
#[allow(non_camel_case_types)]
180180
#[derive(
@@ -186,7 +186,7 @@ impl SubType {
186186
Deserialize,
187187
EnumIter,
188188
EnumString,
189-
EnumVariantNames,
189+
VariantNames,
190190
FromRepr,
191191
Serialize,
192192
)]
@@ -220,7 +220,7 @@ pub enum AppType {
220220

221221
/// Partition sub-types which can be used with [`Type::Data`] partitions
222222
///
223-
/// A full list of support subtypes can be found in the ESP-IDF documentation:
223+
/// A full list of support subtypes can be found in the ESP-IDF documentation:
224224
/// <https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-guides/partition-tables.html#subtype>
225225
#[derive(
226226
Debug,
@@ -231,7 +231,7 @@ pub enum AppType {
231231
Deserialize,
232232
EnumIter,
233233
EnumString,
234-
EnumVariantNames,
234+
VariantNames,
235235
FromRepr,
236236
Serialize,
237237
)]

0 commit comments

Comments
 (0)