Skip to content

Commit

Permalink
Version bump.
Browse files Browse the repository at this point in the history
  • Loading branch information
RazrFalcon committed Sep 13, 2024
1 parent 34776c1 commit 36ea120
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 4 deletions.
12 changes: 11 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,15 @@ and this project adheres to [Semantic Versioning](http://semver.org/).

## [Unreleased]

## [0.9.5] - 2024-09-13
### Added
- `Advise::is_supported` and `UncheckedAdvice::is_supported`. Linux only.
[@xzfc](https://github.com/xzfc)
- Documentation improvements.
[@RalfJung](https://github.com/RalfJung)
[@betelgeuse](https://github.com/betelgeuse)
[@ADSteele916](https://github.com/ADSteele916)

## [0.9.4] - 2024-01-25
### Changed
- The `libc` crate >= 0.2.151 is required now.
Expand Down Expand Up @@ -203,7 +212,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
### Removed
- `winapi` dependency. [memmap-rs/pull/89](https://github.com/danburkert/memmap-rs/pull/89)

[Unreleased]: https://github.com/RazrFalcon/memmap2-rs/compare/v0.9.4...HEAD
[Unreleased]: https://github.com/RazrFalcon/memmap2-rs/compare/v0.9.5...HEAD
[0.9.5]: https://github.com/RazrFalcon/memmap2-rs/compare/v0.9.4...v0.9.5
[0.9.4]: https://github.com/RazrFalcon/memmap2-rs/compare/v0.9.3...v0.9.4
[0.9.3]: https://github.com/RazrFalcon/memmap2-rs/compare/v0.9.2...v0.9.3
[0.9.2]: https://github.com/RazrFalcon/memmap2-rs/compare/v0.9.1...v0.9.2
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "memmap2"
version = "0.9.4"
version = "0.9.5"
authors = ["Dan Burkert <dan@danburkert.com>", "Yevhenii Reizner <razrfalcon@gmail.com>"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/RazrFalcon/memmap2-rs"
Expand Down
4 changes: 2 additions & 2 deletions src/advice.rs
Original file line number Diff line number Diff line change
Expand Up @@ -407,11 +407,11 @@ impl UncheckedAdvice {

#[cfg(test)]
mod tests {
use super::*;

#[cfg(target_os = "linux")]
#[test]
fn test_is_supported() {
use super::*;

assert!(Advice::Normal.is_supported());
assert!(Advice::Random.is_supported());
assert!(Advice::Sequential.is_supported());
Expand Down

0 comments on commit 36ea120

Please sign in to comment.