Skip to content

Commit

Permalink
v0.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
raldone01 committed Dec 12, 2024
1 parent 9aa4912 commit 4f51a22
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 9 deletions.
9 changes: 6 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

- Update trait_cast_impl_rs to `0.2.2`.
- Move from `venial` to syn.
- Use [const Ordering for TypeId](https://github.com/rust-lang/rust/pull/101698) to make a lot of code cleanups
## [0.3.0] - 2024-12-12

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

## [0.2.4] - 2022-11-10

Expand Down
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion trait_cast_impl_rs/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "trait_cast_impl_rs"
version = "0.2.2"
version = "0.3.0"
edition = "2021"
license = "MIT OR Apache-2.0"
authors = [
Expand Down
4 changes: 2 additions & 2 deletions trait_cast_rs/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "trait_cast_rs"
version = "0.2.4"
version = "0.3.0"
edition = "2021"
license = "MIT OR Apache-2.0"
authors = [
Expand All @@ -20,7 +20,7 @@ alloc = []
min_specialization = []

[dependencies]
trait_cast_impl_rs = { path = "../trait_cast_impl_rs" }
trait_cast_impl_rs = { path = "../trait_cast_impl_rs", version = "0.3.0" }

[lints]
workspace = true
Expand Down
2 changes: 1 addition & 1 deletion trait_cast_rs/examples/with_proc_macro.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//! This example shows how to use the `make_trait_castable` macro to make a struct castable to multiple traits.
#![allow(clippy::undocumented_unsafe_blocks)]
#![expect(
#![allow(
unsafe_code,
reason = "The example shows off the unchecked downcast functions which require unsafe code."
)]
Expand Down

0 comments on commit 4f51a22

Please sign in to comment.