jsonnet-rs

Crates.iojsonnet-rs
lib.rsjsonnet-rs
version0.17.0
sourcesrc
created_at2017-01-03 05:59:13.819237
updated_at2021-02-01 21:39:02.969019
descriptionBindings to libjsonnet (https://jsonnet.org/), a domain specific configuration language that helps you define JSON data.
homepage
repositoryhttps://github.com/anguslees/rust-jsonnet.git
max_upload_size
id7897
size70,646
Angus Lees (anguslees)

documentation

https://docs.rs/jsonnet-rs

README

rust-jsonnet

crates.io Version Badge docs.rs Doc Badge Build Status Badge

libjsonnet bindings for Rust

[dependencies]
jsonnet-rs = "0.6"

Building rust-jsonnet

Building jsonnet-sys requires gcc (via the cc Rust crate). libjsonnet is not typically available as an existing shared library, so jsonnet-sys builds and statically links its own copy.

$ git clone https://github.com/anguslees/rust-jsonnet
$ cd rust-jsonnet
$ cargo build

See also examples/jsonnet.rs for an almost-but-not-quite drop-in replacement for the official jsonnet executable implemented using this library.

License

rust-jsonnet is distributed under the terms of the Apache License (Version 2.0), the same as libjsonnet itself.

See LICENSE for details.

Commit count: 58

cargo fmt