Skip to content

Commit 5c86154

Browse files
authored
chore: release v0.1.1 (#15)
1 parent d862743 commit 5c86154

File tree

5 files changed

+14
-7
lines changed

5 files changed

+14
-7
lines changed

CHANGELOG.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,18 @@ follows <https://www.conventionalcommits.org/en/v1.0.0/> to track changes.
3737

3838
## [Unreleased]
3939

40+
## [0.1.1] - 2025-08-28
41+
42+
The major update since the previous release is the introduction of the
43+
`#[dynify]` macro, which can significantly reduce boilerplate codes when
44+
defining async methods that have multiple lifetimes in their signatures.
45+
4046
### Added
4147

4248
- Support downcasting a `Buffered` pointer ([#10]).
4349
- Support unwrapping a `Buffered` pointer ([#11]).
4450
- Add a helper macro `#[dynify]` for trait transformations ([#12]).
45-
- Support transformation of a function for `#[dynify]` ([#13])
51+
- Support transformations of function items for `#[dynify]` ([#13]).
4652

4753
[#10]: https://github.com/loichyan/dynify/pull/10
4854
[#11]: https://github.com/loichyan/dynify/pull/11
@@ -86,4 +92,5 @@ details.
8692

8793
[0.0.1]: https://github.com/loichyan/dynify/releases/tag/v0.0.1
8894
[0.1.0]: https://github.com/loichyan/dynify/releases/tag/v0.1.0
89-
[Unreleased]: https://github.com/loichyan/dynify/compare/v0.1.0..HEAD
95+
[0.1.1]: https://github.com/loichyan/dynify/releases/tag/v0.1.1
96+
[Unreleased]: https://github.com/loichyan/dynify/compare/v0.1.1..HEAD

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.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
members = ["macros"]
33

44
[workspace.package]
5-
version = "0.1.0"
5+
version = "0.1.1"
66
authors = ["Loi Chyan <[email protected]>"]
77
license = "MIT OR Apache-2.0"
88
edition = "2021"

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ in stable Rust, along with a set of safe APIs for creating in-place constructors
1616
to initialize trait objects. Here’s a quick example of how to use dynify:
1717

1818
```rust
19-
use dynify::{from_fn, Dynify, Fn};
19+
use dynify::Dynify;;
2020
use std::future::Future;
2121
use std::mem::MaybeUninit;
2222

src/dynify.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ illustrated below, you can combine `#[dynify]` with
124124
// no longer specify a name in `#[dynify]` because `#[trait_variant::make]`
125125
// will generate two traits, which leads to conflicting trait definitions.
126126
#[trait_variant::make(Send)]
127-
#[dynify::dynify]
127+
#[dynify::dynify] // must be put within the scope of `#[trait_variant::make]`
128128
trait Client {
129129
async fn request(&self, uri: &str) -> String;
130130
}

0 commit comments

Comments
 (0)