- Bumped minimal supported rust version to 1.75
- Moved all traits to use the new "return position impl trait in trait" feature
- Added two functions to
BlockStore
trait:has_block
for finding out if a blockstore has a block available locallyput_block_keyed
for adding a block to the blockstore with a pre-computed CID
- Added a default implementation for
BlockStore::put_block
utilizingput_block_keyed
andcreate_cid
- Removed
put_serializable
andget_serializable
functions fromBlockStore
. UseStorable::store
andStorable::load
instead. - Made all
Result
s inBlockStore
useBlockStoreError
as error type instead ofanyhow::Error
- Expose a blanket implementation of
BlockStore
for any&impl BlockStore
orBox<impl BlockStore>
- Evolve
BlockStore
trait (#402)
- Removed
AsyncSerialize
andRemembersCid
traits. - Added
Storable
,StoreIpld
andLoadIpld
traits. - Removed
BlockStore::store_async_serializable
. UseStorable::store
instead.
These traits allow the Link
type to be used with data that doesn't necessarily encode as dag-cbor
, such as UnixFS
files, which encode as dag-pb
.
For details see #378.
- Small documentation improvements
0.1.23 (2023-07-21)
- Switch from Namefilter to Name Accumulators (#247) (7026a37)
- Switch from SHA3-256 to BLAKE3-256 (#306) (e164a1f)
- wnfs-nameaccumulator: Initial release at 0.1.23 (eb17ea2)
0.1.22 (2023-06-23)
0.1.21 (2023-05-22)
0.1.20 (2023-03-30)
0.1.19 (2023-03-23)
- release 0.1.19 (1f37ec4)