Radish alpha
h
rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5
Radicle Heartwood Protocol & Stack
Radicle
Git
crypto: Remove markers `Verified` and `Unverified`
Lorenz Leutgeb committed 1 month ago
commit 0f9eace839ecadc7d2e6501e14e51ecc32bcbd98
parent 304a663
2 files changed +1 -8
modified crates/radicle-crypto/src/lib.rs
@@ -15,13 +15,6 @@ pub mod ssh;
#[cfg(any(test, feature = "test"))]
pub mod test;

-
/// Verified (used as type witness).
-
#[derive(Debug, Copy, Clone, PartialEq, Eq, Serialize)]
-
pub struct Verified;
-
/// Unverified (used as type witness).
-
#[derive(Debug, Copy, Clone, PartialEq, Eq)]
-
pub struct Unverified;
-

/// Output of a Diffie-Hellman key exchange.
pub type SharedSecret = [u8; 32];

modified crates/radicle/src/lib.rs
@@ -42,7 +42,7 @@ pub use storage::git::Storage;
pub mod prelude {
    use super::*;

-
    pub use crypto::{PublicKey, Verified};
+
    pub use crypto::PublicKey;
    pub use git::BranchName;
    pub use identity::{project::Project, Did, Doc, RawDoc, RepoId};
    pub use node::{Alias, NodeId, Timestamp};