mirror of
https://github.com/n0-computer/noq.git
synced 2026-09-23 11:45:25 +00:00
proto: remove incorrect feature guard
`HashedConnectionIdGenerator::new()` uses the mandatory rand crate to generate a key by default, not the *ring* crate.
This commit is contained in:
committed by
Benjamin Saunders
parent
7af5296dc3
commit
e764fe48ce
@@ -125,7 +125,6 @@ impl HashedConnectionIdGenerator {
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(feature = "ring")]
|
||||
impl Default for HashedConnectionIdGenerator {
|
||||
fn default() -> Self {
|
||||
Self::new()
|
||||
|
||||
Reference in New Issue
Block a user