Skip to content

Commit 4f51a22

Browse files
committed
v0.3.0
1 parent 9aa4912 commit 4f51a22

File tree

5 files changed

+12
-9
lines changed

5 files changed

+12
-9
lines changed

CHANGELOG.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
66

77
## [Unreleased]
88

9-
- Update trait_cast_impl_rs to `0.2.2`.
10-
- Move from `venial` to syn.
11-
- Use [const Ordering for TypeId](https://github.com/rust-lang/rust/pull/101698) to make a lot of code cleanups
9+
## [0.3.0] - 2024-12-12
10+
11+
- Move from `venial` to `syn` in `trait_cast_impl_rs`.
12+
- Fix lots of clippy lints.
13+
- Use [const Ordering for TypeId](https://github.com/rust-lang/rust/pull/101698) to make a lot of code cleanups.
1214
- Removed the `const_sort` feature because the `const trait impls` in the standard library have been removed.
15+
- Fix the doctest in the README when the `min_specialization` feature is enabled.
1316

1417
## [0.2.4] - 2022-11-10
1518

Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

trait_cast_impl_rs/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "trait_cast_impl_rs"
3-
version = "0.2.2"
3+
version = "0.3.0"
44
edition = "2021"
55
license = "MIT OR Apache-2.0"
66
authors = [

trait_cast_rs/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "trait_cast_rs"
3-
version = "0.2.4"
3+
version = "0.3.0"
44
edition = "2021"
55
license = "MIT OR Apache-2.0"
66
authors = [
@@ -20,7 +20,7 @@ alloc = []
2020
min_specialization = []
2121

2222
[dependencies]
23-
trait_cast_impl_rs = { path = "../trait_cast_impl_rs" }
23+
trait_cast_impl_rs = { path = "../trait_cast_impl_rs", version = "0.3.0" }
2424

2525
[lints]
2626
workspace = true

trait_cast_rs/examples/with_proc_macro.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
//! This example shows how to use the `make_trait_castable` macro to make a struct castable to multiple traits.
22
#![allow(clippy::undocumented_unsafe_blocks)]
3-
#![expect(
3+
#![allow(
44
unsafe_code,
55
reason = "The example shows off the unchecked downcast functions which require unsafe code."
66
)]

0 commit comments

Comments
 (0)