weavatrix-rust 2.16.1

Protocol-independent Rust repository intelligence: typed evidence graphs for impact, architecture, APIs, Git, search, and memory
Documentation
1
2
3
4
5
6
7
8
9
10
//! Admission and decode budgets. Checked before allocations.

pub(crate) const MAX_ABI_BYTES: u64 = 4 * 1024 * 1024;
pub(crate) const MAX_ARTIFACT_BYTES: u64 = 16 * 1024 * 1024;
pub(crate) const MAX_BUILD_INFO_BYTES: u64 = 64 * 1024 * 1024;
pub(crate) const MAX_NESTING: usize = 64;
pub(crate) const MAX_MEMBERS: usize = 10_000;
pub(crate) const MAX_SOURCES: usize = 10_000;
#[allow(dead_code)]
pub(crate) const DEFAULT_FILE_BYTES: u64 = MAX_ABI_BYTES;