Skip to content

Commit

Permalink
chore: Bump
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmah309 committed Jul 20, 2024
1 parent d713fba commit 6ade668
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ name = "error_set"
description = "An error set macro that provides a concise way to define errors and ergonomically coerce between sets. Inspired by Zig's error set type."
categories = ["rust-patterns"]
keywords = ["error", "error-handling", "macro", "error-set"]
version = "0.3.2"
version = "0.4.0"
edition = "2021"
license = "Apache-2.0"
documentation = "https://docs.rs/error_set"
repository = "https:/mcmah309/error_set"

[dependencies]
error_set_impl = { version = "=0.3.2", path = "impl" }
error_set_impl = { version = "=0.4.0", path = "impl" }

# features
tracing = { version = "0.1", optional = true }
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,7 @@ fn main() {

### Feature Flags

**coerce_macro:** Each error set will generates a `coerce!` macro to help handle coercsion between partially intersecting sets.
**coerce_macro:** Each error set will generates a `coerce!` macro to help handle coercion between partially intersecting sets.

```rust
let val = coerce!(setx => {
Expand Down
2 changes: 1 addition & 1 deletion impl/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "error_set_impl"
edition = "2021"
description = "Implementation of the proc macro for the error_set crate."
version = "0.3.2"
version = "0.4.0"
license = "Apache-2.0"
documentation = "https://docs.rs/error_set"
repository = "https:/mcmah309/error_set"
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#![doc = include_str!("../README.md")]
#![cfg_attr(feature = "coerce_macro", doc = "Each error set will generates a `coerce!` macro to help handle coercsion between partially intersecting sets.")]
#![cfg_attr(feature = "coerce_macro", doc = "Each error set will generates a `coerce!` macro to help handle coercion between partially intersecting sets.")]
#![cfg_attr(feature = "tracing", doc = "Enables support for the tracing crate. Adds methods to `Result` that are applied on `Err` - e.g. `result.warn(...)`.")]
#![cfg_attr(feature = "log", doc = "Enables support for the log crate. Adds methods to `Result` that are applied on `Err` - e.g. `result.warn(...)`.")]
#[cfg(all(feature = "tracing", feature = "log"))]
Expand Down

0 comments on commit 6ade668

Please sign in to comment.