# ProcessManager – Inline Examples
The crate ships with small, self-contained example programs that live directly
under `examples/` (single `.rs` files).
They are built and run with the standard Cargo *example* command:
```bash
# From the project root
cargo run --example <name>
```
| `simple` | minimal setup: one manager, two workers, graceful shutdown |
| `dynamic_add` | add new `Runnable`s **while the manager is already running** |
| `restart_supervisor` | restart a flaky child with configurable exponential backoff |
| `runtime_context` | implement `RunnableWithContext` without manually managing `RuntimeGuard` |
| `axum` | run an `axum` HTTP server as a managed runnable with graceful shutdown |
Feel free to copy / adapt the code for your own services and let us know if you
run into problems.