diff --git a/.github/workflows/audit.yaml b/.github/workflows/audit.yaml index adb399c..7161880 100644 --- a/.github/workflows/audit.yaml +++ b/.github/workflows/audit.yaml @@ -19,7 +19,7 @@ jobs: uses: actions/checkout@v4.2.2 - name: Install Ruby toolchain - uses: ruby/setup-ruby@7d3497fd78c07c0d84ebafa58d8dac60cd1f0763 # v1.199.0 + uses: ruby/setup-ruby@a2bbe5b1b236842c1cb7dd11e8e3b51e0a616acc # v1.202.0 with: ruby-version: ".ruby-version" bundler-cache: true @@ -52,7 +52,7 @@ jobs: cargo generate-lockfile --verbose fi - - uses: EmbarkStudios/cargo-deny-action@8371184bd11e21dcf8ac82ebf8c9c9f74ebf7268 # v2.0.1 + - uses: EmbarkStudios/cargo-deny-action@2d8c9929d8f9f42bedba73f1287cb0b479f07acb # v2.0.3 with: arguments: --locked --all-features command: check ${{ matrix.checks }} diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 559fa36..12cdcc3 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -58,7 +58,7 @@ jobs: - name: Install Rust toolchain uses: artichoke/setup-rust/build-and-test@v1.12.1 with: - toolchain: "1.56.0" + toolchain: "1.76.0" - name: Compile run: cargo build --verbose @@ -104,7 +104,7 @@ jobs: uses: actions/checkout@v4.2.2 - name: Install Ruby toolchain - uses: ruby/setup-ruby@7d3497fd78c07c0d84ebafa58d8dac60cd1f0763 # v1.199.0 + uses: ruby/setup-ruby@a2bbe5b1b236842c1cb7dd11e8e3b51e0a616acc # v1.202.0 with: ruby-version: ".ruby-version" bundler-cache: true diff --git a/.ruby-version b/.ruby-version index 619b537..9c25013 100644 --- a/.ruby-version +++ b/.ruby-version @@ -1 +1 @@ -3.3.3 +3.3.6 diff --git a/Cargo.toml b/Cargo.toml index e98fa88..59d7815 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,10 +1,10 @@ [package] name = "raw-parts" -version = "2.1.0" +version = "2.2.0" authors = ["Ryan Lopopolo "] license = "MIT" edition = "2021" -rust-version = "1.56.0" +rust-version = "1.76.0" readme = "README.md" repository = "https://github.com/artichoke/raw-parts" documentation = "https://docs.rs/raw-parts" @@ -14,7 +14,7 @@ Ergonomic wrapper around `Vec::from_raw_parts` and `Vec::into_raw_parts`. """ keywords = ["ffi", "no_std", "unsafe", "vec", "vector"] categories = ["no-std", "rust-patterns"] -include = ["src/**/*", "tests/**/*", "LICENSE", "README.md"] +include = ["/src/**/*", "/tests/**/*", "/LICENSE", "/README.md"] [dependencies] diff --git a/Gemfile b/Gemfile index ff3b9b4..ec7ae14 100644 --- a/Gemfile +++ b/Gemfile @@ -4,5 +4,5 @@ source 'https://rubygems.org' gem 'bundler-audit', '~> 0.9', require: false gem 'rake', '>= 12.3.3', require: false -gem 'rubocop', '~> 1.68', require: false +gem 'rubocop', '~> 1.69', require: false gem 'rubocop-rake', '~> 0.6', require: false diff --git a/Gemfile.lock b/Gemfile.lock index d284a68..fd0d7ae 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -5,33 +5,35 @@ GEM bundler-audit (0.9.2) bundler (>= 1.2.0, < 3) thor (~> 1.0) - json (2.7.5) + json (2.8.2) language_server-protocol (3.17.0.3) parallel (1.26.3) - parser (3.3.5.1) + parser (3.3.6.0) ast (~> 2.4.1) racc racc (1.8.1) rainbow (3.1.1) rake (13.2.1) - regexp_parser (2.9.2) - rubocop (1.68.0) + regexp_parser (2.9.3) + rubocop (1.69.0) json (~> 2.3) language_server-protocol (>= 3.17.0) parallel (~> 1.10) parser (>= 3.3.0.2) rainbow (>= 2.2.2, < 4.0) regexp_parser (>= 2.4, < 3.0) - rubocop-ast (>= 1.32.2, < 2.0) + rubocop-ast (>= 1.36.1, < 2.0) ruby-progressbar (~> 1.7) - unicode-display_width (>= 2.4.0, < 3.0) - rubocop-ast (1.33.0) + unicode-display_width (>= 2.4.0, < 4.0) + rubocop-ast (1.36.2) parser (>= 3.3.1.0) rubocop-rake (0.6.0) rubocop (~> 1.0) ruby-progressbar (1.13.0) thor (1.3.2) - unicode-display_width (2.6.0) + unicode-display_width (3.1.2) + unicode-emoji (~> 4.0, >= 4.0.4) + unicode-emoji (4.0.4) PLATFORMS ruby @@ -39,8 +41,8 @@ PLATFORMS DEPENDENCIES bundler-audit (~> 0.9) rake (>= 12.3.3) - rubocop (~> 1.68) + rubocop (~> 1.69) rubocop-rake (~> 0.6) BUNDLED WITH - 2.5.15 + 2.5.23 diff --git a/README.md b/README.md index 9ec664c..cd1ce20 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ Add this to your `Cargo.toml`: ```toml [dependencies] -raw-parts = "2.1.0" +raw-parts = "2.2.0" ``` Then decompose `Vec`s like: @@ -53,7 +53,7 @@ raw-parts is `no_std` compatible with a required dependency on [`alloc`]. ## Minimum Supported Rust Version -This crate requires at least Rust 1.56.0. This version can be bumped in minor +This crate requires at least Rust 1.76.0. This version can be bumped in minor releases. ## License diff --git a/package-lock.json b/package-lock.json index 5e45464..49f28c0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8,14 +8,15 @@ "name": "@artichokeruby/raw-parts", "version": "0.0.0", "devDependencies": { - "prettier": "3.2.5" + "prettier": "3.4.1" } }, "node_modules/prettier": { - "version": "3.2.5", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.2.5.tgz", - "integrity": "sha512-3/GWa9aOC0YeD7LUfvOG2NiDyhOWRvt1k+rcKhOuYnMY24iiCphgneUfJDyFXd6rZCAnuLBv6UeAULtrhT/F4A==", + "version": "3.4.1", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.4.1.tgz", + "integrity": "sha512-G+YdqtITVZmOJje6QkXQWzl3fSfMxFwm1tjTyo9exhkmWSqC4Yhd1+lug++IlR2mvRVAxEDDWYkQdeSztajqgg==", "dev": true, + "license": "MIT", "bin": { "prettier": "bin/prettier.cjs" }, diff --git a/package.json b/package.json index 8dfa4d8..edd8c01 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,7 @@ "homepage": "https://www.artichokeruby.org", "bugs": "https://github.com/artichoke/raw-parts/issues", "devDependencies": { - "prettier": "3.2.5" + "prettier": "3.4.1" }, "scripts": { "fmt": "prettier --write \"**/*\"" diff --git a/src/lib.rs b/src/lib.rs index 3983695..2f1aa7f 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -53,7 +53,7 @@ //! raw-parts is `no_std` compatible with a required dependency on [`alloc`]. #![no_std] -#![doc(html_root_url = "https://docs.rs/raw-parts/2.1.0")] +#![doc(html_root_url = "https://docs.rs/raw-parts/2.2.0")] extern crate alloc;