Skip to content
This repository has been archived by the owner on Oct 23, 2022. It is now read-only.

Use Key-value DB for DataStore and PinStore #439

Merged
merged 2 commits into from
Jan 5, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
137 changes: 109 additions & 28 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ tracing-futures = { default-features = false, features = ["std", "futures-03"],
void = { default-features = false, version = "1.0" }
fs2 = "0.4.3"
tempfile = "3.1.0"
sled = "0.34"

[target.'cfg(windows)'.dependencies]
# required for DNS resolution
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ impl<T: RepoTypes> IpfsTypes for T {}
pub struct Types;
impl RepoTypes for Types {
type TBlockStore = repo::fs::FsBlockStore;
type TDataStore = repo::fs::FsDataStore;
type TDataStore = repo::kv::KvDataStore;
ljedrz marked this conversation as resolved.
Show resolved Hide resolved
type TLock = repo::fs::FsLock;
}

Expand Down
Loading