fix wasm build

This commit is contained in:
folex 2020-05-19 23:10:33 +03:00
parent 982e23ad39
commit b4681cca12
2 changed files with 2 additions and 1 deletions

View File

@ -124,3 +124,4 @@ libp2p-core = { path = "core" }
# visible via dependency mechanics (i.e., not visible HERE)
[patch.crates-io]
libp2p-core = { path = "core" }
wasm-timer = { git = "https://github.com/fluencelabs/wasm-timer", branch = "saturating_duration_since" }

View File

@ -70,7 +70,7 @@ impl From<Multihash> for Key {
}
/// A record stored in the DHT.
#[derive(Clone, Debug, Eq, PartialEq, Hash)]
#[derive(Clone, Debug, Eq, PartialEq)]
pub struct Record {
/// Key of the record.
pub key: Key,