#derive #kubernetes #futures #kube

macro kube-derive

Custom derives for the kube kubernetes crates

28 releases (breaking)

new 0.50.1 Feb 17, 2021
0.49.0 Feb 8, 2021
0.45.0 Dec 26, 2020
0.43.0 Oct 8, 2020
0.31.0 Mar 28, 2020
Download history 1082/week @ 2020-11-02 752/week @ 2020-11-09 1060/week @ 2020-11-16 937/week @ 2020-11-23 1227/week @ 2020-11-30 961/week @ 2020-12-07 781/week @ 2020-12-14 827/week @ 2020-12-21 472/week @ 2020-12-28 1394/week @ 2021-01-04 1331/week @ 2021-01-11 1097/week @ 2021-01-18 1557/week @ 2021-01-25 1490/week @ 2021-02-01 1700/week @ 2021-02-08 2010/week @ 2021-02-15

4,987 downloads per month
Used in less than 7 crates

Apache-2.0

31KB
470 lines

kube-derive

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

Installation

Add the derive feature to kube:

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


lib.rs:

A crate for kube's derive macros.

Dependencies

~1–1.7MB
~38K SLoC