diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 72ab523..d6855f4 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -81,7 +81,7 @@ jobs: uses: actions/checkout@v2 - name: Install toolchain - uses: dtolnay/rust-toolchain@1.84 + uses: dtolnay/rust-toolchain@1.80 with: components: clippy diff --git a/Cargo.lock b/Cargo.lock index 1dabe18..4ea097a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -50,7 +50,7 @@ dependencies = [ [[package]] name = "rc-borrow" -version = "1.4.0" +version = "1.5.0" dependencies = [ "autocfg", "erasable 1.3.0", diff --git a/crates/erasable/README.md b/crates/erasable/README.md index 0b5505a..549dcd6 100644 --- a/crates/erasable/README.md +++ b/crates/erasable/README.md @@ -18,6 +18,10 @@ There are two main useful reasons to type erase pointers in Rust: ## Changelist +### 1.3.0 +#### Changed +- Updated MSRV to 1.80 + ### 1.2.0 #### Added - `impl ErasablePtr for Thin
`: the obvious impl; `Thin` is erased internally
@@ -82,8 +86,7 @@ I'd love to remove this hack if it turns out unnecessary after all
## Minimum Supported Rust Version
-We require a minimum Rust version of 1.41.0.
-This is for an adjustment of local trait impl checking.
+We require a minimum Rust version of 1.80.0.
Minimum version support is only guaranteed with minimal version resolution
(`-Z minimal-versions`/`--minimal-versions`) due to how dependencies are handled.
diff --git a/crates/ptr-union/Cargo.toml b/crates/ptr-union/Cargo.toml
index 48bb416..a766625 100644
--- a/crates/ptr-union/Cargo.toml
+++ b/crates/ptr-union/Cargo.toml
@@ -2,6 +2,7 @@
name = "ptr-union"
version = "2.3.0"
edition = "2021"
+rust-version = "1.80"
description = "Pointer union types the size of a pointer by storing the tag in the alignment bits."
repository = "https://github.com/CAD97/pointer-utils/tree/master/crates/ptr-union"
diff --git a/crates/ptr-union/README.md b/crates/ptr-union/README.md
index 6ea319e..d13e4f8 100644
--- a/crates/ptr-union/README.md
+++ b/crates/ptr-union/README.md
@@ -3,6 +3,17 @@ by storing the tag in the alignment bits.
## Changelist
+### 2.3.0
+#### Fixed
+
+- Cloning a pointer that resulted in a lower alignment no longer unsoundly
+ assumes it has greater alignment than it does. Cloning `Union*` now checks
+ alignment and panics if it is insufficient.
+
+#### Changed
+
+- Updated MSRV to 1.80.
+
### 2.2.2
#### Fixed
@@ -62,8 +73,7 @@ This will ensure that the inner types are properly dropped instead of leaking.
## Minimum Supported Rust Version
-We require a minimum Rust version of 1.41.0.
-This is for an adjustment of local trait impl checking.
+We require a minimum Rust version of 1.80.0.
Minimum version support is only guaranteed with minimal version resolution
(`-Z minimal-versions`/`--minimal-versions`) due to how dependencies are handled.
diff --git a/crates/rc-borrow/Cargo.toml b/crates/rc-borrow/Cargo.toml
index 7ca05ff..4ced91d 100644
--- a/crates/rc-borrow/Cargo.toml
+++ b/crates/rc-borrow/Cargo.toml
@@ -1,7 +1,8 @@
[package]
name = "rc-borrow"
-version = "1.4.0"
-edition = "2018"
+version = "1.5.0"
+edition = "2021"
+rust-version = "1.80"
description = "Borrowed forms of Rc and Arc."
repository = "https://github.com/CAD97/pointer-utils/tree/master/crates/rc-borrow"
diff --git a/crates/rc-borrow/README.md b/crates/rc-borrow/README.md
index 627cae5..5c01232 100644
--- a/crates/rc-borrow/README.md
+++ b/crates/rc-borrow/README.md
@@ -39,8 +39,7 @@ We provide support for both `Arc` and `Rc`.
## Minimum Supported Rust Version
-We require a minimum Rust version of 1.41.0.
-This is for an adjustment of local trait impl checking.
+We require a minimum Rust version of 1.80.0.
Minimum version support is only guaranteed with minimal version resolution
(`-Z minimal-versions`/`--minimal-versions`) due to how dependencies are handled.
diff --git a/crates/rc-box/Cargo.toml b/crates/rc-box/Cargo.toml
index 1b8a04a..d1b88b1 100644
--- a/crates/rc-box/Cargo.toml
+++ b/crates/rc-box/Cargo.toml
@@ -2,6 +2,7 @@
name = "rc-box"
version = "1.3.0"
edition = "2021"
+rust-version = "1.80"
authors = ["Christopher Durham (cad97)