Skip to content

Commit

Permalink
Revert
Browse files Browse the repository at this point in the history
  • Loading branch information
al8n committed Mar 30, 2024
1 parent 597b2e2 commit 47649d3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "transformable"
version = "0.1.7"
version = "0.1.8"
edition = "2021"
repository = "https://github.com/al8n/transformable"
homepage = "https://github.com/al8n/transformable"
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ pub trait Transformable {
/// The type can transform its representation between structured and byte form.
#[cfg(feature = "std")]
#[cfg_attr(docsrs, doc(cfg(feature = "std")))]
pub trait Transformable: Send + Sync {
pub trait Transformable: Send + Sync + 'static {
/// The error type returned when encoding or decoding fails.
type Error: std::error::Error + Send + Sync + 'static;

Expand Down

0 comments on commit 47649d3

Please sign in to comment.