docs.rs failed to build libucl-0.2.2
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
libucl-0.2.3
Rust wrapper around libucl
A lightweight wrapper library in Rust around libucl, a library used for parsing of UCL (Universal Configuration Language) files.
Basics
You can read all about UCL (Universal Configuration Language) here
Usage
use Parser;
let parser = new;
let result = parser.parse.unwrap;
println!;
Validation
You can write validation schemas in UCL format as well, as long as it follows the JSON Schema rules for defining a schema with the exception of remote references. UCL currently is not absolutely strict about validation schemas themselves, therefore UCL users should supply valid schemas (as it is defined in json-schema draft v4) to ensure that the input objects are validated properly.
use Parser;
let parser = new;
let item = parser.parse.unwrap;
let parser = new;
let schema = parser.parse.unwrap;
let res = item.validate_with_schema;
assert_eq!;
Instalation
In your Cargo.toml
file under [dependencies]
add libucl = "0.2.1"
Licence
Check out LICENSE file.