Skip to content

Commit

Permalink
chore: lock Rust at 1.77
Browse files Browse the repository at this point in the history
  • Loading branch information
baygeldin committed Jun 17, 2024
1 parent 1e89863 commit a4e2bc3
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ jobs:
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- uses: actions-rs/toolchain@v1
- uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: stable
toolchain: '1.77'
- name: Install dependencies
run: bundle install
- name: Cache crate
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,9 @@ jobs:
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- uses: actions-rs/toolchain@v1
- uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: stable
toolchain: '1.77'
- name: Install dependencies
run: bundle install
- name: Cache crate
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ Or install it yourself as:
You don't **have to** have Rust installed on your system since Tantiny will try to download the pre-compiled binaries hosted on GitHub releases during the installation. However, if no pre-compiled binaries were found for your system (which is a combination of platform, architecture, and Ruby version) you will need to [install Rust](https://www.rust-lang.org/tools/install) first.

> [!WARNING]
> Only Rust versions up to `1.77.0` are supported. See [this issue](https://github.com/baygeldin/tantiny/issues/21) for more details.
> Only Rust versions up to `1.77` are supported. See [this issue](https://github.com/baygeldin/tantiny/issues/21) for more details.
> [!IMPORTANT]
> Please, make sure to specify the minor version when declaring dependency on `tantiny`. The API is a subject to change, and until it reaches `1.0.0` a bump in the minor version will most likely signify a breaking change.
Expand Down
2 changes: 1 addition & 1 deletion src/index.rs
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ methods!(
fn release_index_writer() -> NilClass {
let internal = unwrap_index_mut(&mut _itself);

drop(internal.index_writer.as_ref().try_unwrap());
let _ = internal.index_writer.as_ref().try_unwrap();
internal.index_writer = None;

NilClass::new()
Expand Down

0 comments on commit a4e2bc3

Please sign in to comment.