#kube #kubernetes #derive #client #runtime

kube-derive

Custom derives for the kube kubernetes crates

32 breaking releases

new 0.62.0 Oct 22, 2021
0.60.0 Sep 2, 2021
0.58.1 Jul 6, 2021
0.52.0 Mar 31, 2021
0.31.0 Mar 28, 2020

#509 in Procedural macros

Download history 2430/week @ 2021-07-03 2183/week @ 2021-07-10 2900/week @ 2021-07-17 3231/week @ 2021-07-24 3828/week @ 2021-07-31 4139/week @ 2021-08-07 3664/week @ 2021-08-14 4058/week @ 2021-08-21 3251/week @ 2021-08-28 3960/week @ 2021-09-04 5178/week @ 2021-09-11 4519/week @ 2021-09-18 3893/week @ 2021-09-25 3253/week @ 2021-10-02 3922/week @ 2021-10-09 3931/week @ 2021-10-16

17,043 downloads per month
Used in 15 crates (8 directly)

Apache-2.0

32KB
435 lines

kube-derive

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

Installation

Add the derive feature to kube:

[dependencies]
kube = { version = "0.62.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-rs/labels/derive


lib.rs:

A crate for kube's derive macros.

Dependencies

~1–1.7MB
~39K SLoC