summaryrefslogtreecommitdiff
path: root/crates/tor-hscrypto/src/pow/v1_stub.rs
blob: c3bf07065a740e343959ab91482bb212221f9d66 (plain)
1
2
3
4
5
6
7
8
9
10
11
//! Stub; `v1` proof of work scheme has been disabled at compile time

use void::Void;

/// Stub for the runtime error type when `v1` is disabled
#[derive(Debug, Clone, derive_more::Display, derive_more::Error)]
pub struct RuntimeErrorV1(Void);

/// Stub for the solution error type when `v1` is disabled
#[derive(Debug, Clone, derive_more::Display, derive_more::Error)]
pub struct SolutionErrorV1(Void);