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

macro kube-derive

Custom derives for the kube kubernetes crates

86 releases (breaking)

0.97.0 Nov 20, 2024
0.95.0 Sep 16, 2024
0.93.1 Jul 23, 2024
0.89.0 Mar 26, 2024
0.31.0 Mar 28, 2020

#1728 in Encoding

Download history 184149/week @ 2024-08-17 185013/week @ 2024-08-24 152362/week @ 2024-08-31 191488/week @ 2024-09-07 166529/week @ 2024-09-14 194410/week @ 2024-09-21 196707/week @ 2024-09-28 229515/week @ 2024-10-05 208236/week @ 2024-10-12 227897/week @ 2024-10-19 230709/week @ 2024-10-26 216244/week @ 2024-11-02 234778/week @ 2024-11-09 215537/week @ 2024-11-16 135002/week @ 2024-11-23 155714/week @ 2024-11-30

784,070 downloads per month
Used in 124 crates (17 directly)

Apache-2.0

51KB
707 lines

kube-derive

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

Installation

Add the derive feature to kube:

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


lib.rs:

A crate for kube's derive macros.

Dependencies

~1–2MB
~40K SLoC