The default transport budgets: 64 MiB packs, 256 MiB decompression ceiling, 100k changes, 32 MiB per change, 100k closure entries, 10k dependency depth.
()
| 62 | /// ceiling, 100k changes, 32 MiB per change, 100k closure entries, 10k |
| 63 | /// dependency depth. |
| 64 | pub const fn default_limits() -> Self { |
| 65 | BindingPackLimits { |
| 66 | max_pack_bytes: 64 * 1024 * 1024, |
| 67 | max_decompressed_bytes: 256 * 1024 * 1024, |
| 68 | max_objects: 100_000, |
| 69 | max_object_bytes: 32 * 1024 * 1024, |
| 70 | max_closure_entries: 100_000, |
| 71 | max_closure_depth: 10_000, |
| 72 | } |
| 73 | } |
| 74 | |
| 75 | /// A deliberately tiny budget for adversarial tests. |
| 76 | #[cfg(test)] |
nothing calls this directly
no outgoing calls
no test coverage detected