Content-addressed cache on disk. Store bytes by their SHA-256, retrieve by hex. root/aa/bbb... layout for fast ls.
root/aa/bbb...
ls
use content_cas::Cas; let cas = Cas::new("/tmp/my-cas").unwrap(); let h = cas.put(b"hello").unwrap(); let bytes = cas.get(&h).unwrap();
Zero deps. MIT or Apache-2.0.