diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ad48a1d27..4683a5b76 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,13 +17,13 @@ jobs: strategy: fail-fast: false matrix: - rust: ['1.74', stable] + rust: ['1.67', stable] steps: - uses: actions/checkout@v3 - uses: dtolnay/rust-toolchain@master with: toolchain: ${{matrix.rust}} - - run: cargo build + - run: cargo build --workspace --exclude tools --exclude musli-tests if: matrix.rust != 'stable' - run: cargo build --all-targets if: matrix.rust == 'stable' @@ -88,20 +88,11 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - uses: dtolnay/rust-toolchain@1.74 + - uses: dtolnay/rust-toolchain@1.76 with: components: clippy - run: cargo clippy --all-targets --features test -- -D warnings - clippy_tests: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - uses: dtolnay/rust-toolchain@1.74 - with: - components: clippy - - run: cargo run -p tools -- clippy -- -D warnings - rustfmt: runs-on: ubuntu-latest steps: diff --git a/.github/workflows/weekly.yml b/.github/workflows/weekly.yml index 13fe77114..c14879098 100644 --- a/.github/workflows/weekly.yml +++ b/.github/workflows/weekly.yml @@ -10,10 +10,10 @@ jobs: strategy: fail-fast: false matrix: - rust: ["1.74", stable] + rust: ["1.67", stable] steps: - uses: actions/checkout@v3 - uses: dtolnay/rust-toolchain@master with: toolchain: ${{matrix.rust}} - - run: cargo build --workspace + - run: cargo build --workspace --exclude tools --exclude musli-tests diff --git a/crates/musli-common/Cargo.toml b/crates/musli-common/Cargo.toml index c98520324..bf96ecd8e 100644 --- a/crates/musli-common/Cargo.toml +++ b/crates/musli-common/Cargo.toml @@ -3,7 +3,7 @@ name = "musli-common" version = "0.0.94" authors = ["John-John Tedro "] edition = "2021" -rust-version = "1.74" +rust-version = "1.67" description = """ Common utilities shared among Müsli encodings. """ diff --git a/crates/musli-descriptive/Cargo.toml b/crates/musli-descriptive/Cargo.toml index f0d4de142..b39776a52 100644 --- a/crates/musli-descriptive/Cargo.toml +++ b/crates/musli-descriptive/Cargo.toml @@ -3,7 +3,7 @@ name = "musli-descriptive" version = "0.0.94" authors = ["John-John Tedro "] edition = "2021" -rust-version = "1.74" +rust-version = "1.67" description = """ A fully self-descriptive format for Müsli. """ diff --git a/crates/musli-json/Cargo.toml b/crates/musli-json/Cargo.toml index bb5cf658c..918ec11c0 100644 --- a/crates/musli-json/Cargo.toml +++ b/crates/musli-json/Cargo.toml @@ -3,7 +3,7 @@ name = "musli-json" version = "0.0.94" authors = ["John-John Tedro "] edition = "2021" -rust-version = "1.74" +rust-version = "1.67" description = """ JSON support for Müsli. """ diff --git a/crates/musli-macros/Cargo.toml b/crates/musli-macros/Cargo.toml index 1d50c2923..75f3bb2c9 100644 --- a/crates/musli-macros/Cargo.toml +++ b/crates/musli-macros/Cargo.toml @@ -3,7 +3,7 @@ name = "musli-macros" version = "0.0.94" authors = ["John-John Tedro "] edition = "2021" -rust-version = "1.74" +rust-version = "1.67" description = """ Macros for Müsli. """ diff --git a/crates/musli-storage/Cargo.toml b/crates/musli-storage/Cargo.toml index bf094ce0f..2a8d0469c 100644 --- a/crates/musli-storage/Cargo.toml +++ b/crates/musli-storage/Cargo.toml @@ -3,7 +3,7 @@ name = "musli-storage" version = "0.0.94" authors = ["John-John Tedro "] edition = "2021" -rust-version = "1.74" +rust-version = "1.67" description = """ Partially upgrade stable format for Müsli suitable for storage. """ diff --git a/crates/musli-value/Cargo.toml b/crates/musli-value/Cargo.toml index a8e8bf5af..8f4c8f43f 100644 --- a/crates/musli-value/Cargo.toml +++ b/crates/musli-value/Cargo.toml @@ -3,7 +3,7 @@ name = "musli-value" version = "0.0.94" authors = ["John-John Tedro "] edition = "2021" -rust-version = "1.74" +rust-version = "1.67" description = """ Buffered value support for Müsli. """ diff --git a/crates/musli-wire/Cargo.toml b/crates/musli-wire/Cargo.toml index 7ba737c1e..f0384473a 100644 --- a/crates/musli-wire/Cargo.toml +++ b/crates/musli-wire/Cargo.toml @@ -3,7 +3,7 @@ name = "musli-wire" version = "0.0.94" authors = ["John-John Tedro "] edition = "2021" -rust-version = "1.74" +rust-version = "1.67" description = """ Fully upgrade stable format for Müsli suitable for network communication. """ diff --git a/crates/musli-zerocopy-macros/Cargo.toml b/crates/musli-zerocopy-macros/Cargo.toml index cdb867390..95a9013b6 100644 --- a/crates/musli-zerocopy-macros/Cargo.toml +++ b/crates/musli-zerocopy-macros/Cargo.toml @@ -3,7 +3,7 @@ name = "musli-zerocopy-macros" version = "0.0.94" authors = ["John-John Tedro "] edition = "2021" -rust-version = "1.74" +rust-version = "1.67" description = """ Macros for Müsli zero-copy. """ diff --git a/crates/musli-zerocopy/Cargo.toml b/crates/musli-zerocopy/Cargo.toml index 435e6f94f..213d481e7 100644 --- a/crates/musli-zerocopy/Cargo.toml +++ b/crates/musli-zerocopy/Cargo.toml @@ -3,7 +3,7 @@ name = "musli-zerocopy" version = "0.0.94" authors = ["John-John Tedro "] edition = "2021" -rust-version = "1.74" +rust-version = "1.67" description = """ Refreshingly simple zero copy primitives by Müsli. """ diff --git a/crates/musli-zerocopy/src/lib.rs b/crates/musli-zerocopy/src/lib.rs index 4e68b2956..a2857c22e 100644 --- a/crates/musli-zerocopy/src/lib.rs +++ b/crates/musli-zerocopy/src/lib.rs @@ -521,6 +521,7 @@ #![no_std] #![allow(clippy::module_inception)] +#![allow(clippy::enum_variant_names)] #![deny(missing_docs)] #![cfg_attr(all(feature = "nightly", test), feature(repr128))] #![cfg_attr(all(feature = "nightly", test), allow(incomplete_features))] diff --git a/crates/musli/Cargo.toml b/crates/musli/Cargo.toml index eacb2d5f7..a6caf471a 100644 --- a/crates/musli/Cargo.toml +++ b/crates/musli/Cargo.toml @@ -3,7 +3,7 @@ name = "musli" version = "0.0.94" authors = ["John-John Tedro "] edition = "2021" -rust-version = "1.74" +rust-version = "1.67" description = """ Müsli is a flexible and generic binary serialization framework. """