crypto: Remove markers `Verified` and `Unverified`
These are now unused in heartwood.
This commit is contained in:
parent
304a66311a
commit
0f9eace839
|
|
@ -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];
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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};
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue