Skip to main content

SOURCE_FILE_READ_MAX_BYTES

Constant SOURCE_FILE_READ_MAX_BYTES 

Source
pub const SOURCE_FILE_READ_MAX_BYTES: u64 = _; // 8_388_608u64
Expand description

Maximum bytes cargo-allow will load from one source-tree text file.

Chosen to keep ordinary Rust sources and policy/docs readable while rejecting pathological tracked files that would force unbounded memory use.