Skip to content
This repository has been archived by the owner on Jul 12, 2024. It is now read-only.

Commit

Permalink
add serde implementation for signature::Keypair
Browse files Browse the repository at this point in the history
  • Loading branch information
soerenmeier committed Sep 11, 2021
1 parent 803e813 commit eccb3d8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "fire-crypto"
description = "Crypto library providing encryption and signing."
version = "0.2.0"
version = "0.2.1"
authors = ["Sören Meier <[email protected]>"]
repository = "https://github.com/fire-lib/fire-crypto"
homepage = "https://fire-lib.com/"
Expand Down
3 changes: 3 additions & 0 deletions src/signature/keypair.rs
Original file line number Diff line number Diff line change
Expand Up @@ -94,3 +94,6 @@ impl Clone for Keypair {
Self::from_bytes(self.to_bytes())
}
}

#[cfg(all(feature = "serde", feature = "b64"))]
impl_serde!(Keypair, 43);

0 comments on commit eccb3d8

Please sign in to comment.