#kubernetes #crd #macro #api-bindings #customresource

macro kube-derive

Custom derives for the kube kubernetes crates

78 releases (breaking)

new 0.92.1 Jun 19, 2024
0.91.0 May 6, 2024
0.89.0 Mar 26, 2024
0.87.2 Dec 22, 2023
0.31.0 Mar 28, 2020

#1803 in Encoding

Download history 59361/week @ 2024-02-28 47574/week @ 2024-03-06 49550/week @ 2024-03-13 47334/week @ 2024-03-20 53290/week @ 2024-03-27 55472/week @ 2024-04-03 45787/week @ 2024-04-10 52636/week @ 2024-04-17 60967/week @ 2024-04-24 58548/week @ 2024-05-01 55735/week @ 2024-05-08 71319/week @ 2024-05-15 66876/week @ 2024-05-22 64433/week @ 2024-05-29 73221/week @ 2024-06-05 59282/week @ 2024-06-12

278,554 downloads per month
Used in 88 crates (15 directly)

Apache-2.0

41KB
518 lines

kube-derive

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

Installation

Add the derive feature to kube:

[dependencies]
kube = { version = "0.92.1", 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


lib.rs:

A crate for kube's derive macros.

Dependencies

~1–1.8MB
~40K SLoC