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

Commit d4b13d9

Browse files
bors[bot]koivunej
andauthored
Merge #444
444: More sled pinstore changes r=koivunej a=koivunej This PR adds: - docs for the feature and the struct - even longer TODOs, but with less FIXMEs - pin key reuse in some cases from `get_pinned_mode` - use `TransactionalTree::flush` instead of `Db::flush_async`, see #443 - the use of `spawn_blocking` to do sled operations Closes #443. Co-authored-by: Joonas Koivunen <joonas.koivunen@gmail.com>
2 parents d71d9d1 + a4515f7 commit d4b13d9

File tree

3 files changed

+283
-198
lines changed

3 files changed

+283
-198
lines changed

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,15 @@
44
* ci: update go-ipfs to `0.7.0` for interop tests [#428]
55
* refactor(http): introduce `Config` as the facade for configuration [#423]
66
* feat(http): create `Profile` abstraction [#421]
7-
* feat: `sled` pinstore [#439], [#442]
7+
* feat: `sled` pinstore [#439], [#442], [#444]
88

99
[#429]: https://github.com/rs-ipfs/rust-ipfs/pull/429
1010
[#428]: https://github.com/rs-ipfs/rust-ipfs/pull/428
1111
[#423]: https://github.com/rs-ipfs/rust-ipfs/pull/423
1212
[#421]: https://github.com/rs-ipfs/rust-ipfs/pull/421
1313
[#439]: https://github.com/rs-ipfs/rust-ipfs/pull/439
1414
[#442]: https://github.com/rs-ipfs/rust-ipfs/pull/442
15+
[#442]: https://github.com/rs-ipfs/rust-ipfs/pull/444
1516

1617
# 0.2.1
1718

Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ version = "0.2.1"
1010

1111
[features]
1212
default = []
13+
14+
# feature will enable sled_data_store use in ipfs::Types (default used by ipfs-http for example)
15+
# sled dependency is not guarded by this to keep compiling and test the pinstore.
1316
sled_data_store = []
1417
test_go_interop = []
1518
test_js_interop = []

0 commit comments

Comments
 (0)