diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 143062fe..d391f6b0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -49,6 +49,24 @@ jobs: - name: check-fmt run: cargo fmt --check + docs_rs: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: remove rust-toolchain.toml + run: rm rust-toolchain.toml + - uses: dtolnay/rust-toolchain@v1 + with: + target: riscv32imc-unknown-none-elf,riscv32imac-unknown-none-elf,riscv32imafc-unknown-none-elf + toolchain: nightly + components: rust-src + - uses: Swatinem/rust-cache@v2 + + - name: install docs-rs + run: cargo install cargo-docs-rs + - name: docs-rs + run: cd esp-wifi && cargo docs-rs + builds: strategy: matrix: diff --git a/CHANGELOG.md b/CHANGELOG.md index 0cf72332..a2ccb543 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Removed +## [0.5.1] - 2024-04-22 + +Patch release to fix docs.rs build ## [0.5.0] - 2024-04-19 diff --git a/Cargo.toml b/Cargo.toml index 2359f237..7b542b84 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -32,7 +32,7 @@ heapless = { version = "0.8", default-features = false, features = [ ] } num-derive = { version = "0.4" } num-traits = { version = "0.2", default-features = false } -esp-wifi-sys = { version = "0.1.0", path = "../esp-wifi-sys" } +esp-wifi-sys = { version = "0.3.0", path = "../esp-wifi-sys" } embassy-sync = { version = "0.5.0" } embassy-futures = { version = "0.1.0" } toml-cfg = "0.2.0" diff --git a/esp-wifi/Cargo.toml b/esp-wifi/Cargo.toml index 35a6c4a6..21d3d47c 100644 --- a/esp-wifi/Cargo.toml +++ b/esp-wifi/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "esp-wifi" -version = "0.5.0" +version = "0.5.1" edition = "2021" authors = [ "The ESP-RS team",