diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4138d61..b6634fa 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,25 +9,29 @@ on: - cron: '50 4 * * *' workflow_dispatch: -env: - rust_toolchain: stable - jobs: compile: name: Compile runs-on: ubuntu-latest + + strategy: + matrix: + rust_toolchain: + - nightly + - 1.83 # MSRV + steps: - name: Setup | Checkout uses: actions/checkout@v2 - name: Setup | Rust uses: actions-rs/toolchain@v1 with: - toolchain: ${{ env.rust_toolchain }} + toolchain: ${{ matrix.rust_toolchain }} components: rustfmt, clippy - name: Setup | Std - run: rustup component add rust-src --toolchain ${{ env.rust_toolchain }}-x86_64-unknown-linux-gnu + run: rustup component add rust-src --toolchain ${{ matrix.rust_toolchain }}-x86_64-unknown-linux-gnu - name: Setup | Set default toolchain - run: rustup default ${{ env.rust_toolchain }} + run: rustup default ${{ matrix.rust_toolchain }} - name: Build | Fmt Check run: cargo fmt -- --check - name: Build | Clippy diff --git a/Cargo.toml b/Cargo.toml index d3c12e1..7f58994 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "edge-net" -version = "0.9.3" +version = "0.10.0" authors = ["Ivan Markov "] edition = "2021" categories = ["embedded", "hardware-support", "network-programming", "asynchronous"] @@ -9,7 +9,7 @@ description = "no_std and no-alloc async implementations of various network prot repository = "https://github.com/ivmarkov/edge-net" license = "MIT OR Apache-2.0" readme = "README.md" -rust-version = "1.78" +rust-version = "1.83" [features] default = ["io"] @@ -115,13 +115,13 @@ log = { version = "0.4", default-features = false } heapless = { version = "0.8", default-features = false } domain = { version = "0.10", default-features = false, features = ["heapless"] } -edge-captive = { version = "0.4.0", path = "edge-captive", default-features = false } -edge-dhcp = { version = "0.4.0", path = "edge-dhcp", default-features = false } -edge-http = { version = "0.4.1", path = "edge-http", default-features = false } -edge-mdns = { version = "0.4.0", path = "edge-mdns", default-features = false } +edge-captive = { version = "0.5.0", path = "edge-captive", default-features = false } +edge-dhcp = { version = "0.5.0", path = "edge-dhcp", default-features = false } +edge-http = { version = "0.5.0", path = "edge-http", default-features = false } +edge-mdns = { version = "0.5.0", path = "edge-mdns", default-features = false } edge-mqtt = { version = "0.4.0", path = "edge-mqtt", default-features = false } -edge-nal = { version = "0.4.2", path = "edge-nal", default-features = false } -edge-raw = { version = "0.4.0", path = "edge-raw", default-features = false } +edge-nal = { version = "0.5.0", path = "edge-nal", default-features = false } +edge-raw = { version = "0.5.0", path = "edge-raw", default-features = false } edge-ws = { version = "0.4.0", path = "edge-ws", default-features = false } -edge-nal-std = { version = "0.4.0", path = "edge-nal-std", default-features = false } -edge-nal-embassy = { version = "0.4.1", path = "edge-nal-embassy", default-features = false } +edge-nal-std = { version = "0.5.0", path = "edge-nal-std", default-features = false } +edge-nal-embassy = { version = "0.5.0", path = "edge-nal-embassy", default-features = false } diff --git a/edge-captive/Cargo.toml b/edge-captive/Cargo.toml index 25a83ef..2deb4f7 100644 --- a/edge-captive/Cargo.toml +++ b/edge-captive/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "edge-captive" -version = "0.4.0" +version = "0.5.0" edition = "2021" -rust-version = "1.77" +rust-version = "1.83" description = "Async + `no_std` + no-alloc implementation of a Captive Portal DNS" repository = "https://github.com/ivmarkov/edge-net" readme = "README.md" diff --git a/edge-dhcp/Cargo.toml b/edge-dhcp/Cargo.toml index 1e8f328..5913307 100644 --- a/edge-dhcp/Cargo.toml +++ b/edge-dhcp/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "edge-dhcp" -version = "0.4.0" +version = "0.5.0" edition = "2021" -rust-version = "1.77" +rust-version = "1.83" description = "Async + `no_std` + no-alloc implementation of the DHCP protocol" repository = "https://github.com/ivmarkov/edge-net" readme = "README.md" diff --git a/edge-http/Cargo.toml b/edge-http/Cargo.toml index 99d8d9b..dbd6f28 100644 --- a/edge-http/Cargo.toml +++ b/edge-http/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "edge-http" -version = "0.4.1" +version = "0.5.0" edition = "2021" -rust-version = "1.77" +rust-version = "1.83" description = "Async + `no_std` + no-alloc implementation of the HTTP protocol" repository = "https://github.com/ivmarkov/edge-net" readme = "README.md" diff --git a/edge-mdns/Cargo.toml b/edge-mdns/Cargo.toml index ae1620a..dd836b1 100644 --- a/edge-mdns/Cargo.toml +++ b/edge-mdns/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "edge-mdns" -version = "0.4.0" +version = "0.5.0" edition = "2021" description = "Async + `no_std` + no-alloc implementation of an mDNS responder" repository = "https://github.com/ivmarkov/edge-net" diff --git a/edge-nal-embassy/Cargo.toml b/edge-nal-embassy/Cargo.toml index 72565c7..5f7fc52 100644 --- a/edge-nal-embassy/Cargo.toml +++ b/edge-nal-embassy/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "edge-nal-embassy" -version = "0.4.1" +version = "0.5.0" edition = "2021" -rust-version = "1.77" +rust-version = "1.83" description = "An implementation of edge-nal based on `embassy-net`" repository = "https://github.com/ivmarkov/edge-net" readme = "README.md" diff --git a/edge-nal-std/Cargo.toml b/edge-nal-std/Cargo.toml index e41a62e..37728ed 100644 --- a/edge-nal-std/Cargo.toml +++ b/edge-nal-std/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "edge-nal-std" -version = "0.4.0" +version = "0.5.0" edition = "2021" -rust-version = "1.77" +rust-version = "1.83" description = "A STD implementation of edge-nal based on `async-io`" repository = "https://github.com/ivmarkov/edge-net" readme = "README.md" diff --git a/edge-nal/Cargo.toml b/edge-nal/Cargo.toml index 427a6bd..46772b0 100644 --- a/edge-nal/Cargo.toml +++ b/edge-nal/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "edge-nal" -version = "0.4.2" +version = "0.5.0" edition = "2021" -rust-version = "1.77" +rust-version = "1.83" description = "Hosts a bunch of traits which are not yet available in the embedded-nal-async crate" repository = "https://github.com/ivmarkov/edge-net" readme = "README.md" diff --git a/edge-raw/Cargo.toml b/edge-raw/Cargo.toml index bb2f5e0..c10633a 100644 --- a/edge-raw/Cargo.toml +++ b/edge-raw/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "edge-raw" -version = "0.4.0" +version = "0.5.0" edition = "2021" -rust-version = "1.77" +rust-version = "1.83" description = "Async + `no_std` + no-alloc implementation of IP and UDP packet creation and parsing" repository = "https://github.com/ivmarkov/edge-net" readme = "README.md"