Adding kubewarden_policy_sdk
library as a dependency
Run this command in a terminal, in your project's directory:
cargo add kubewarden-policy-sdk
To add it manually, edit your project's Cargo.toml
file and add to the [dependencies]
section:
kubewarden-policy-sdk = "0.11.3"
The kubewarden_policy_sdk
library will be automatically available globally.
Read the kubewarden_policy_sdk
library documentation.