Crate better_limit_reader
source ·Expand description
Exposes LimitReader which is a limit reader, that protects against zip-bombs and other nefarious activities.
This crate is heavily inspired by Jon Gjengset’s “Crust of Rust” episode on the inner workings of git on YouTube (https://youtu.be/u0VotuGzD_w?si=oIuV9CITSWHJXKBu&t=3503) and mitigrating Zip-bombs.
Modules§
- Re-exports
Structs§
- The LimitReader reads into
buf
which is held within the record struct.