zkat / cacache-rs

A high-performance, concurrent, content-addressable disk cache, with support for both sync and async APIs. 💩💵 but for your 🦀
https://crates.io/crates/cacache
Other
523 stars 33 forks source link

feature request: cacache::Writer without a key #66

Closed cablehead closed 7 months ago

cablehead commented 7 months ago

The use case is to be able to stream content into cacache, when a key is not readily available.

zkat commented 7 months ago

I believe WriteOpts::open_hash() is what you're looking for.

cablehead commented 7 months ago

Yes it is. Thank you! 💚