6 releases

0.6.1 Jul 7, 2021
0.6.0 Jul 7, 2021
0.5.1 Jul 5, 2021
0.4.4 Mar 15, 2021

#2727 in Parser implementations

Unlicense

32KB
444 lines

cni_format

This is a parser and serializer library for the CNI configuration format, compatible with version 0.1.0. It also provides the recommended API functions.

This crate is dependency-free (except for testing).

The recommended API and serializer can be en-/disabled with the feature flags api or serializer respectively. Only the API is enabled by default to speed up compilation.

You can find the core library source code in the lib/src directory.

Reference Compliance

ini and all ext elements have a feature flag by the same name. Note that nothing outside of core is enabled by default, but can be enabled by the respective feature flags.

  • core: 29/29
  • ini: fully compliant
  • ext: more-keys

tooling

The root directory contains the unpublished crate cni_format_utils, which contains a utility for files in the CNI configuration format such as a formatter and linter. This part is still a work in progress. Please check back later.

No runtime deps