Skip to content

Johann150/cni

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

90 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.