Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prepare valuable, valuable-derive, and valuable-serde 0.1.1 #137

Merged
merged 4 commits into from
Jan 17, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
# 0.1.1 (2025-01-17)

- Make `Valuable` implementation for `HashMap` more generic (#112)
- Bump MSRV to 1.56 (#118)
- derive: update syn to 2.0 (#118)
- derive: implement `#[valuable]` attributes (#75)
- derive: use `#[automatically_derived]` on generated impls to improve coverage support (#136)

# 0.1.0 (2022-01-03)

- Initial release
- Initial release
8 changes: 4 additions & 4 deletions tests/tests/ui/not_valuable.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ error[E0277]: the trait bound `S: Valuable` is not satisfied
| -------- required by a bound introduced by this call
6 | struct Struct {
7 | f: Option<S>,
| ^^^^^^^^^ the trait `Valuable` is not implemented for `S`, which is required by `Option<S>: Valuable`
| ^^^^^^^^^ the trait `Valuable` is not implemented for `S`
|
= help: the following other types implement trait `Valuable`:
&T
Expand All @@ -25,7 +25,7 @@ error[E0277]: the trait bound `S: Valuable` is not satisfied
10 | #[derive(Valuable)]
| -------- required by a bound introduced by this call
11 | struct Tuple(Option<S>);
| ^^^^^^^^^ the trait `Valuable` is not implemented for `S`, which is required by `Option<S>: Valuable`
| ^^^^^^^^^ the trait `Valuable` is not implemented for `S`
|
= help: the following other types implement trait `Valuable`:
&T
Expand All @@ -46,7 +46,7 @@ error[E0277]: the trait bound `S: Valuable` is not satisfied
| -------- required by a bound introduced by this call
14 | enum Enum {
15 | Struct { f: Option<S> },
| ^ the trait `Valuable` is not implemented for `S`, which is required by `&Option<S>: Valuable`
| ^ the trait `Valuable` is not implemented for `S`
|
= help: the following other types implement trait `Valuable`:
&T
Expand All @@ -69,7 +69,7 @@ error[E0277]: the trait bound `S: Valuable` is not satisfied
| -------- required by a bound introduced by this call
...
16 | Tuple(Option<S>),
| ^ the trait `Valuable` is not implemented for `S`, which is required by `&Option<S>: Valuable`
| ^ the trait `Valuable` is not implemented for `S`
|
= help: the following other types implement trait `Valuable`:
&T
Expand Down
2 changes: 1 addition & 1 deletion valuable-derive/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "valuable-derive"
version = "0.1.0"
version = "0.1.1"
edition = "2021"
license = "MIT"
rust-version = "1.56"
Expand Down
6 changes: 5 additions & 1 deletion valuable-serde/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# 0.1.1 (2025-01-17)

- Serialize `dyn Error` Values as a struct with fields for sources (#92)

# 0.1.0 (2022-01-26)

- Initial release
- Initial release
2 changes: 1 addition & 1 deletion valuable-serde/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "valuable-serde"
version = "0.1.0"
version = "0.1.1"
authors = ["Taiki Endo <[email protected]>"]
edition = "2021"
license = "MIT"
Expand Down
4 changes: 2 additions & 2 deletions valuable/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "valuable"
version = "0.1.0"
version = "0.1.1"
edition = "2021"
license = "MIT"
rust-version = "1.56"
Expand Down Expand Up @@ -33,7 +33,7 @@ std = ["alloc"]
alloc = []

[dependencies]
valuable-derive = { version = "0.1.0", optional = true, path = "../valuable-derive" }
valuable-derive = { version = "=0.1.1", optional = true, path = "../valuable-derive" }

[dev-dependencies]
criterion = "0.3"
Expand Down
Loading