Sunbeam Studios

Our open-source projects, here for you!

kube-derive (0.99.0)

Published 2026-03-26 10:59:59 +00:00 by siennathesane

Installation

[registry]
default = "gitea"

[registries.gitea]
index = "sparse+" # Sparse index
# index = "" # Git

[net]
git-fetch-with-cli = true
cargo add kube-derive@0.99.0

About this package

Custom derives for the kube kubernetes crates

kube-derive

Add #[derive(CustomResource)] to your custom resource struct.

Installation

Add the derive feature to kube:

[dependencies]
kube = { version = "0.99.0", feature = ["derive"] }

Usage

See the kube-derive API Docs

Examples

See the crd_ prefixed examples for more.

Development

Help very welcome! Kubebuilder like features, testing improvement, openapi feature. See https://github.com/kube-rs/kube/labels/derive

Dependencies

ID Version
darling ^0.20.3
proc-macro2 ^1.0.29
quote ^1.0.10
serde ^1.0.130
serde_json ^1.0.68
syn ^2.0.38
assert-json-diff ^2.0.2
chrono ^0.4.34
k8s-openapi ^0.24.0
kube <2.0.0, >=0.98.0
prettyplease ^0.2.25
schemars ^0.8.6
serde ^1.0.130
serde_yaml ^0.9.19
trybuild ^1.0.48

Keywords

kubernetes macro customresource crd
Details
Cargo
2026-03-26 10:59:59 +00:00
0
clux <sszynrae@gmail.com>
Natalie Klestrup Röijezon <nat@nullable.se>
kazk <kazk.dev@gmail.com>
Apache-2.0
32 KiB
Assets (1)
Versions (1) View all
0.99.0 2026-03-26