mirror of
https://seed.radicle.dev/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5.git
synced 2026-11-15 07:40:36 +08:00
crypto: Remove markers Verified and Unverified
These are now unused in heartwood.
This commit is contained in:
@@ -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];
|
||||
|
||||
|
||||
@@ -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};
|
||||
|
||||
Reference in New Issue
Block a user