()
| 75 | /// A deliberately tiny budget for adversarial tests. |
| 76 | #[cfg(test)] |
| 77 | pub const fn tiny() -> Self { |
| 78 | BindingPackLimits { |
| 79 | max_pack_bytes: 1024, |
| 80 | max_decompressed_bytes: 2048, |
| 81 | max_objects: 4, |
| 82 | max_object_bytes: 512, |
| 83 | max_closure_entries: 4, |
| 84 | max_closure_depth: 3, |
| 85 | } |
| 86 | } |
| 87 | } |
| 88 | |
| 89 | impl Default for BindingPackLimits { |
nothing calls this directly
no outgoing calls
no test coverage detected