Documentation
pdk-core-0.0.0-alpha.6 has been yanked.

PDK Core   Latest Version pdk--core msrv

pdk-core provides core APIs and runtime integration for the PDK.

This is an internal layer over the classy abstraction to bind the general proxy-wasm abstractions with specifics of the Flex Gateway implementation.

pdk-core is not intended to be used directly by users of the PDK.


You may be looking for:

pdk-core in action

[dependencies]

# This package is included as a transitive dependency of the pdk crate.
pdk = { version = "1.6"}
use pdk::hl::*;

#[entrypoint]
async fn configure(launcher: Launcher) -> anyhow::Result<()> {
    launcher.launch(on_request(|_req| async { Ok(()) })).await?;
    Ok(())
}

License