mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-05-01 21:52:16 +00:00
fix wasm build
This commit is contained in:
parent
982e23ad39
commit
b4681cca12
@ -124,3 +124,4 @@ libp2p-core = { path = "core" }
|
|||||||
# visible via dependency mechanics (i.e., not visible HERE)
|
# visible via dependency mechanics (i.e., not visible HERE)
|
||||||
[patch.crates-io]
|
[patch.crates-io]
|
||||||
libp2p-core = { path = "core" }
|
libp2p-core = { path = "core" }
|
||||||
|
wasm-timer = { git = "https://github.com/fluencelabs/wasm-timer", branch = "saturating_duration_since" }
|
||||||
|
@ -70,7 +70,7 @@ impl From<Multihash> for Key {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// A record stored in the DHT.
|
/// A record stored in the DHT.
|
||||||
#[derive(Clone, Debug, Eq, PartialEq, Hash)]
|
#[derive(Clone, Debug, Eq, PartialEq)]
|
||||||
pub struct Record {
|
pub struct Record {
|
||||||
/// Key of the record.
|
/// Key of the record.
|
||||||
pub key: Key,
|
pub key: Key,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user