| Crates.io | veto-core |
| lib.rs | veto-core |
| version | 0.1.0 |
| created_at | 2025-10-16 14:22:32.316552+00 |
| updated_at | 2025-10-16 14:22:32.316552+00 |
| description | Core proxy runtime for the Veto project |
| homepage | https://github.com/refcell/veto |
| repository | https://github.com/refcell/veto |
| max_upload_size | |
| id | 1886194 |
| size | 41,128 |
veto-coreCore runtime for the Veto JSON-RPC proxy.
run] bootstraps the Axum server, binds to the requested socket, and awaits Ctrl+C for shutdownrouter] wires handlers around [AppState] so the proxy can forward or block JSON-RPC callsProxyError] diagnostics for callersuse veto_config::{resolve_config, Overrides};
use veto_core::run;
#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
let config = resolve_config(None, Overrides::default())?;
run(config).await?;
Ok(())
}
Pull requests are welcome! Open an issue to discuss ideas or report bugs before sending a patch.