|
1 | 1 | //! This crate enables versioning of structs and enums through procedural macros. |
2 | 2 | //! |
| 3 | +//! It is part of the project DeLorean and converts between different CRD versions by using 1.21 GW |
| 4 | +//! of power, 142km/h and time travel. |
| 5 | +//! |
3 | 6 | //! Currently supported versioning schemes: |
4 | 7 | //! |
5 | 8 | //! - Kubernetes API versions (eg: `v1alpha1`, `v1beta1`, `v1`, `v2`), with optional support for |
|
8 | 11 | //! Support will be extended to SemVer versions, as well as custom version formats in the future. |
9 | 12 | //! |
10 | 13 | //! See [`versioned`] for an in-depth usage guide and a list of supported arguments. |
11 | | -
|
| 14 | +//! |
| 15 | +//! ```text |
| 16 | +//! __---~~~~--__ __--~~~~---__ |
| 17 | +//! `\---~~~~~~~~\\ //~~~~~~~~---/' |
| 18 | +//! \/~~~~~~~~~\|| ||/~~~~~~~~~\/ |
| 19 | +//! `\\ //' |
| 20 | +//! `\\ //' |
| 21 | +//! || || |
| 22 | +//! ______--~~~~~~~~~~~~~~~~~~--______ |
| 23 | +//! ___ // _-~ ~-_ \\ ___ |
| 24 | +//! `\__)\/~ ~\/(__/' |
| 25 | +//! _--`-___ ___-'--_ |
| 26 | +//! /~ `\ ~~~~~~~~------------~~~~~~~~ /' ~\ |
| 27 | +//! /| `\ ________ /' |\ |
| 28 | +//! | `\ ______`\_ \------/ _/'______ /' | |
| 29 | +//! | `\_~-_____\ ~-________________-~ /_____-~_/' | |
| 30 | +//! `. ~-__________________________________-~ .' |
| 31 | +//! `. [_______/------|~~|------\_______] .' |
| 32 | +//! `\--___((____)(________\/________)(____))___--/' |
| 33 | +//! |>>>>>>||</ \>||<<<<<<| |
| 34 | +//! `\<<<<</' `\>>>>>/' |
| 35 | +//! ``` |
| 36 | +//! |
| 37 | +//! Credit: Tua Xiong in <https://asciiart.website/art/4323> |
12 | 38 | use std::collections::BTreeMap; |
13 | 39 |
|
14 | 40 | use schemars::{Schema, json_schema}; |
|
0 commit comments