3 releases (breaking)

0.2.0 Sep 23, 2020
0.1.0 Aug 14, 2020
0.0.1 Jun 18, 2020

#6 in #dag-pb

Download history 2024/week @ 2025-10-14 2570/week @ 2025-10-21 1105/week @ 2025-10-28 2937/week @ 2025-11-04 1391/week @ 2025-11-11 1801/week @ 2025-11-18 1318/week @ 2025-11-25 2518/week @ 2025-12-02 2487/week @ 2025-12-09 1111/week @ 2025-12-16 824/week @ 2025-12-23 873/week @ 2025-12-30 1618/week @ 2026-01-06 1392/week @ 2026-01-13 1457/week @ 2026-01-20 2365/week @ 2026-01-27

7,191 downloads per month
Used in 16 crates (3 directly)

MIT/Apache

215KB
4.5K SLoC

ipfs-unixfs: UnixFs tree support in Rust.

The crate aims to provide a blockstore implementation independent of the UnixFs implementation by working on slices and not doing any IO operations.

The main entry point for extracting information and/or data out of UnixFs trees is ipfs_unixfs::walk::Walker. To resolve IpfsPath segments over dag-pb nodes, ipfs_unixfs::resolve should be used.


ipfs-unixfs

Goals

  • blockstore API independent way to traverse the merkledag
    • the core read API does not deal with loading blocks
    • instead access to interesting Cids is given

Status

  • unfiltered walking of known unixfs trees
  • creation of balanced file trees
  • creation of non HAMT-sharded directory trees

See the docs at https://docs.rs/ipfs-unixfs.

License

MIT or APL2.

Dependencies

~3.5MB
~54K SLoC