Registry / networking / pingora-core

pingora-core

JSON →
library0.8.1rscratesunverified

Pingora's APIs and traits for core network protocols, providing building blocks for proxy services.

# Cargo.toml [dependencies] pingora-core = "0.8.1"
INSTALL
IMPORT
SIG · PINGORA-CORE
P
pingora-core
networkingrustv0.8.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Server
use pingora_core::Server;

Bootstraps a basic Pingora server instance.

use pingora_core::Server; fn main() { let mut server = Server::new(None).unwrap(); server.bootstrap(); println!("Pingora server bootstrapped"); }
Debug
Known issues
gotchaRequires async runtime (tokio) and network features.
fix
Add tokio as a dependency and use #[tokio::main].
affects: >=0.8.0
Upgrade
Version history
0.8.1latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
28 hits · last 30 days
node
26
OpenAI (training)
1
Resources
pingora-core — cargo add pingora-core · libregistry