Skip to content

Commit

Permalink
Remove implementation from
Browse files Browse the repository at this point in the history
  • Loading branch information
zbuc authored and hdevalence committed Jan 19, 2022
1 parent 36b3992 commit de24841
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 4 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

Entries are listed in reverse chronological order.

# 2.0.0

* Remove `Copy` implementation from `SigningKey`.

# 1.2.0

* Add `to_bytes`/`as_bytes` for `VerificationKey`.
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "ed25519-consensus"
# Before publishing:
# - update CHANGELOG.md
# - update html_root_url
version = "1.2.0"
version = "2.0.0"
authors = ["Henry de Valence <hdevalence@hdevalence.ca>"]
license = "MIT OR Apache-2.0"
edition = "2018"
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#![doc(html_root_url = "https://docs.rs/ed25519-consensus/1.2.0")]
#![doc(html_root_url = "https://docs.rs/ed25519-consensus/2.0.0")]
#![doc = include_str!("../README.md")]
#![deny(missing_docs)]
#![cfg_attr(not(feature = "std"), no_std)]
Expand Down
2 changes: 1 addition & 1 deletion src/signing_key.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ use crate::{Error, Signature, VerificationKey, VerificationKeyBytes};
/// An Ed25519 signing key.
///
/// This is also called a secret key by other implementations.
#[derive(Copy, Clone)]
#[derive(Clone)]
#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
#[cfg_attr(feature = "serde", serde(from = "SerdeHelper"))]
#[cfg_attr(feature = "serde", serde(into = "SerdeHelper"))]
Expand Down
2 changes: 1 addition & 1 deletion tests/unit_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ fn parsing() {
// Most of these types don't implement Eq, so we check a round trip
// conversion to bytes, using these as the reference points:

let sk_array: [u8; 32] = sk.into();
let sk_array: [u8; 32] = sk.clone().into();
let pk_array: [u8; 32] = pk.into();
let pkb_array: [u8; 32] = pkb.into();
let sig_array: [u8; 64] = sig.into();
Expand Down

0 comments on commit de24841

Please sign in to comment.