Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prepare release #30

Merged
merged 3 commits into from
Feb 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
toolchain: ["1.67.0", stable]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@v1
with:
toolchain: ${{ matrix.toolchain }}
Expand All @@ -50,7 +50,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2

Expand All @@ -64,7 +64,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
components: clippy
Expand All @@ -77,7 +77,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@nightly
with:
components: rustfmt
Expand Down
16 changes: 8 additions & 8 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "esp-idf-part"
version = "0.4.1"
version = "0.5.0"
authors = ["Jesse Braham <[email protected]>"]
edition = "2021"
rust-version = "1.67.0"
Expand All @@ -14,16 +14,16 @@ categories = ["embedded", "parsing"]
rustdoc-args = ["--cfg", "docsrs"]

[dependencies]
csv = { version = "1.2.2", optional = true }
csv = { version = "1.3.0", optional = true }
deku = { version = "0.16.0", optional = true }
heapless = { version = "0.7.16", features = ["serde"]}
heapless = { version = "0.8.0", features = ["serde"]}
md5 = { version = "0.7.0", default-features = false }
parse_int = { version = "0.6.0", optional = true }
regex = { version = "1.8.4", optional = true }
serde = { version = "1.0.163", default-features = false, features = ["derive"] }
serde_plain = "1.0.1"
strum = { version = "0.24.1", default-features = false, features = ["derive"] }
thiserror = { version = "1.0.40", optional = true }
regex = { version = "1.10.3", optional = true }
serde = { version = "1.0.196", default-features = false, features = ["derive"] }
serde_plain = "1.0.2"
strum = { version = "0.26.1", default-features = false, features = ["derive"] }
thiserror = { version = "1.0.57", optional = true }

[features]
default = ["std"]
Expand Down
14 changes: 7 additions & 7 deletions src/partition/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use deku::{DekuEnumExt, DekuError, DekuRead};
use serde::{Deserialize, Serialize};
#[cfg(feature = "std")]
use strum::IntoEnumIterator;
use strum::{EnumIter, EnumString, EnumVariantNames, FromRepr};
use strum::{EnumIter, EnumString, FromRepr, VariantNames};

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

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

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