Skip to content

Commit

Permalink
remove serde on calimero-crypto
Browse files Browse the repository at this point in the history
  • Loading branch information
miraclx committed Nov 13, 2024
1 parent 025ecd3 commit 6033af0
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
1 change: 0 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion crates/crypto/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ license.workspace = true
curve25519-dalek.workspace = true
ed25519-dalek = { workspace = true, features = ["rand_core"] }
ring.workspace = true
serde = { workspace = true, features = ["derive"] }

calimero-primitives = { path = "../primitives", features = ["rand"] }

Expand Down
3 changes: 1 addition & 2 deletions crates/crypto/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
use calimero_primitives::identity::{PrivateKey, PublicKey};
use ed25519_dalek::{SecretKey, SigningKey};
use ring::aead;
use serde::{Deserialize, Serialize};

#[derive(Copy, Clone, Debug, Serialize, Deserialize)]
#[derive(Copy, Clone, Debug)]
pub struct SharedKey {
key: SecretKey,
}
Expand Down

0 comments on commit 6033af0

Please sign in to comment.