1 unstable release
0.2.0 | May 27, 2024 |
---|
#2476 in Database interfaces
30KB
336 lines
OCI Image specification library for rust
This library allows the reading and writing of oci specification json files. this currently includes the image but can be extended to runtime with the same process. Distribution specification is mostly doing the right HTTP requests in the right order, thus this spec is not covered here.
Features:
- Safe typing for json files.
- Conformant (as close as possible) serialization from and to the json files (please report bugs where this is not the case)
- Builder pattern for main json files
- deriving JsonSchema, which should help libraries that use typify
- Included documentation from jsonschema
Possible Extensions
- more docs
- implement runtime spec
License
All code in this repository is licensed under:
- Mozilla Public License Version 2.0 (https://opensource.org/license/mpl-2-0)
Your contributions
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, shall be MPL 2.0 licensed as above, without any additional terms or conditions.
Dependencies
~4.5–6MB
~124K SLoC