This package is extracted from
There were a couple of subtle changes made, so it has 0 dependencies and can be used with anything.
Credits goes to the Kubernetes Authors.
Full list of changes from the original library:
- drop all dependencies:
- use std testing only
- allow to pass a previously generated ASCII art instead of generating it at runtime
- optional overrides:
- caller can pass one or more functions that change the version info, so callers are free to use whatever methods they want to provide some options
- a range of functions are provided by the library
- added more fields:
- added more tests, hopefully preventing breaking changes in the future