Crates.io | rs-car-ipfs |
lib.rs | rs-car-ipfs |
version | 0.3.0 |
source | src |
created_at | 2023-02-27 09:17:57.409986 |
updated_at | 2023-03-03 07:06:46.199833 |
description | rs-car wrapper to read files from IPFS trustless gateways |
homepage | |
repository | https://github.com/dapplion/rs-car-ipfs |
max_upload_size | |
id | 795809 |
size | 16,165,285 |
Wrapper for rs-car to read files from IPFS trustless gateways with an async API
single_file::read_single_file_buffer
]single_file::read_single_file_seek
]cargo install rs-car-ipfs --features bin
car-ipfs
reads a CAR stream from stdin and outputs the file contents to stdout
curl "http://localhost:8080/ipfs/QmV3q6mo8oxf2GBuvR7zx7ABFBNP5VrRs3sCr63HQ7kEFC?format=car" | car-ipfs
On an Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz
bin car-ipfs
achieves 75,0MiB/s of throughput.