crypto: Remove markers `Verified` and `Unverified`

These are now unused in heartwood.
This commit is contained in:
Lorenz Leutgeb 2026-03-16 13:51:13 +01:00
parent 304a66311a
commit 0f9eace839
No known key found for this signature in database
2 changed files with 1 additions and 8 deletions

View File

@ -15,13 +15,6 @@ pub mod ssh;
#[cfg(any(test, feature = "test"))] #[cfg(any(test, feature = "test"))]
pub mod 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. /// Output of a Diffie-Hellman key exchange.
pub type SharedSecret = [u8; 32]; pub type SharedSecret = [u8; 32];

View File

@ -42,7 +42,7 @@ pub use storage::git::Storage;
pub mod prelude { pub mod prelude {
use super::*; use super::*;
pub use crypto::{PublicKey, Verified}; pub use crypto::PublicKey;
pub use git::BranchName; pub use git::BranchName;
pub use identity::{project::Project, Did, Doc, RawDoc, RepoId}; pub use identity::{project::Project, Did, Doc, RawDoc, RepoId};
pub use node::{Alias, NodeId, Timestamp}; pub use node::{Alias, NodeId, Timestamp};