summaryrefslogtreecommitdiffstats
path: root/src/dag_backend.rs
AgeCommit message (Collapse)Author
2022-12-28Transform codebase to use thiserrorMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2022-11-08cargo-fmtMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2021-04-04Remove unused variables, importsMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2021-04-04Remove Node::id() requirementMatthias Beyer
A `Node` instance should not need to know about its id, because this would restrict us in case of IPFS, where we know the ID only _after_ adding the data to the storage. This commit thus removes the requirement `Node::id()`. The interface `DagBackend::get()` now returns the `NodeId` for the `Node` as well. This is mostly because it makes the implementation of `AsyncDag` less complicated. Signed-off-by: Matthias Beyer <mail@beyermatthias.de> Tested-by: Matthias Beyer <mail@beyermatthias.de>
2021-04-04Add documentationMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2021-04-04Make test backend multithreading capableMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2021-04-04Add license headersMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2021-04-04Import rewrite from distrox repositoryMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>