MAX_RETICLE_MARKS

Constant MAX_RETICLE_MARKS 

Source
pub const MAX_RETICLE_MARKS: usize = 4096;
Expand description

Largest mark count any generator will produce, and the most ReticleDescription::validate will accept.

A reticle is a human-readable aiming device; nothing legitimate approaches this. The cap exists so a hand-authored --reticle-json (or an FFI caller) cannot turn an O(marks) search into an unbounded one, in the same spirit as the FFI drag-table length guard (MBA-1407).