Skip to content

Commit

Permalink
bump msrv; remove deadcode; update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
conradludgate authored and Kixiron committed Jul 2, 2024
1 parent 9354a16 commit d3addad
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: 1.61.0
toolchain: 1.71.0
override: true

- name: Check
Expand Down
6 changes: 6 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
<!-- next-header -->
## [Unreleased] - ReleaseDate

### Changed

- Bumped MSRV to 1.71.0
- Updated hashbrown to 0.14.0
- Updated dashmap to 0.6.0

## [0.7.2] - 2023-05-15

## [0.7.1] - 2023-05-15
Expand Down
11 changes: 0 additions & 11 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -469,15 +469,4 @@ mod hasher {
}
}

#[doc(hidden)]
mod locks {
compile! {
if #[feature = "no-std"] {
pub use alloc::sync::Arc;
} else {
pub use std::sync::Arc;
}
}
}

// TODO: No-alloc interner
3 changes: 2 additions & 1 deletion src/reader.rs
Original file line number Diff line number Diff line change
Expand Up @@ -737,8 +737,9 @@ mod tests {

#[cfg(all(not(any(miri, feature = "no-std")), feature = "multi-threaded"))]
mod multi_threaded {
use crate::{locks::Arc, Key, RodeoReader, Spur, ThreadedRodeo};
use crate::{Key, RodeoReader, Spur, ThreadedRodeo};

Check warning on line 740 in src/reader.rs

View workflow job for this annotation

GitHub Actions / Test x86_64-unknown-linux-gnu

unused import: `RodeoReader`

Check warning on line 740 in src/reader.rs

View workflow job for this annotation

GitHub Actions / Test i686-unknown-linux-gnu

unused import: `RodeoReader`

Check warning on line 740 in src/reader.rs

View workflow job for this annotation

GitHub Actions / Test i686-pc-windows-msvc

unused import: `RodeoReader`

Check warning on line 740 in src/reader.rs

View workflow job for this annotation

GitHub Actions / Test x86_64-pc-windows-msvc

unused import: `RodeoReader`
use std::thread;
use std::sync::Arc;

#[test]
fn get() {
Expand Down
3 changes: 2 additions & 1 deletion src/resolver.rs
Original file line number Diff line number Diff line change
Expand Up @@ -561,8 +561,9 @@ mod tests {

#[cfg(all(not(any(miri, feature = "no-std")), feature = "multi-threaded"))]
mod multi_threaded {
use crate::{locks::Arc, Key, Spur, ThreadedRodeo};
use crate::{Key, Spur, ThreadedRodeo};
use std::thread;
use std::sync::Arc;

#[test]
fn resolve() {
Expand Down

0 comments on commit d3addad

Please sign in to comment.