Crate nccl[][src]

Nccl is an easy way to add minimal configuration to your crate without having to deal with complicated interfaces, obnoxious syntax, or outdated languages. Nccl makes it easy for a user to pick up your configuration. It’s as easy as five cents.

Nccl was motivated by the fact that other configuration languages are too complicated for end-users. Strict enforcement of data types is a hassle for people who just want stuff to do things. In nccl’s case, simply inferring the data type is a great middle ground between user and developer comfort.

Macros

vec_into

Calls .into() on every element added to a new vector.

Structs

NcclError

nccl error type.

Pair

Struct that contains configuration information.

Enums

ErrorKind

Kinds of nccl errors.

Value

Wrapper type for possible types in nccl configuration.

Functions

parse_file

Parses a file using the given filename.

parse_file_with

Parses a file, merging the results with the supplied pair. Allows for a kind of inheritance of configuration.

parse_into_value

Parses a String into a Value, first attempting bool, i64, and f64.

parse_string

Parses raw string data.