Re-exports§
pub use error::DiagramError;pub use error::DiagramResult;
Modules§
Traits§
- Diagram
Provider - A trait for diagram generation providers.
Functions§
- adaptive_
timeout - Computes an adaptive timeout based on input size. Base: 3000ms. Adds 1000ms per 10KB of payload. Max default: 10000ms.
- run_
process_ with_ timeout - Safely executes a child process, automatically managing timeouts, input piping, and memory cleanup.