# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "kubewarden-policy-sdk" version = "0.11.2" authors = [ "Kubewarden developers ", "Flavio Castelli ", "Rafael Fernández López ", "Víctor Cuadrado Juan ", ] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Kubewarden Policy SDK for the Rust language" readme = "README.md" license = "Apache-2.0" repository = "https://github.com/kubewarden/policy-sdk-rust" [package.metadata.docs.rs] features = ["k8s-openapi/v1_31"] [lib] name = "kubewarden_policy_sdk" path = "src/lib.rs" [dependencies.anyhow] version = "1.0" [dependencies.cfg-if] version = "1.0" [dependencies.chrono] version = "0.4" default-features = false [dependencies.k8s-openapi] version = "0.23.0" optional = true default-features = false [dependencies.num] version = "0.4" [dependencies.num-derive] version = "0.4" [dependencies.num-traits] version = "0.2" [dependencies.oci-spec] version = "0.7.0" [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.serde_json] version = "1.0" [dependencies.serde_yaml] version = "0.9.34" [dependencies.slog] version = "2.7.0" [dependencies.url] version = "2.5.0" features = ["serde"] [dependencies.wapc-guest] version = "1.1.0" [dev-dependencies.assert-json-diff] version = "2.0.2" [dev-dependencies.jsonpath_lib] version = "0.3.0" [dev-dependencies.k8s-openapi] version = "0.23.0" features = ["v1_31"] default-features = false [dev-dependencies.mockall] version = "0.13.0" [dev-dependencies.serial_test] version = "3.1.1" [features] cluster-context = ["k8s-openapi"] default = ["cluster-context"]