Skip to content

Commit

Permalink
docs: update version to 3.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
darfink committed Mar 10, 2024
1 parent fcd8b09 commit 9bd387b
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 4 deletions.
20 changes: 19 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,23 @@ All notable changes to this project will be documented in this file.

## [Unreleased]

## [3.0.1] - 2024-03-06

### Added

- Added support for NetBSD.
- Added support for non-standard UNIX flags w/ `Protection::from_bits_*`.

### Changed

- Replaced deprecated `winapi` with `windows-sys`.
- Replaced deprecated `mach` with `mach2`.

### Fixed

- Fixed `query` to recursively query pages on macOS.
- Fixed `MAP_JIT` to be set when allocating (R)WX pages on macOS (aarch64).

## [3.0.0] - 2021-08-05

### Added
Expand All @@ -26,5 +43,6 @@ All notable changes to this project will be documented in this file.
- Removed `page::size_from_range`.
- Removed deprecated functionality.

[unreleased]: https://github.com/darfink/region-rs/compare/v3.0.0...HEAD
[unreleased]: https://github.com/darfink/region-rs/compare/v3.0.1...HEAD
[3.0.1]: https://github.com/darfink/region-rs/compare/v3.0.0...v3.0.1
[3.0.0]: https://github.com/darfink/region-rs/compare/v2.2.0...v3.0.0
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ license = "MIT"
name = "region"
readme = "README.md"
repository = "https://github.com/darfink/region-rs"
version = "3.0.0"
version = "3.0.1"

[dependencies]
bitflags = "1.0"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ Add this to your `Cargo.toml`:

```toml
[dependencies]
region = "3.0.0"
region = "3.0.1"
```

## Example
Expand Down
7 changes: 6 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
//!
//! ```toml
//! [dependencies]
//! region = "3.0.0"
//! region = "3.0.1"
//! ```
//!
//! # Examples
Expand Down Expand Up @@ -245,6 +245,11 @@ bitflags! {
/// combination of flags may not be applicable, depending on the OS (e.g macOS
/// enforces executable pages to be readable, OpenBSD requires W^X).
///
/// # OS-Specific Behavior
///
/// On Unix `Protection::from_bits_unchecked` can be used to apply
/// non-standard flags (e.g. `PROT_BTI`).
///
/// # Examples
///
/// ```
Expand Down

0 comments on commit 9bd387b

Please sign in to comment.