Crates.io | jsonnet-rs |
lib.rs | jsonnet-rs |
version | 0.17.0 |
source | src |
created_at | 2017-01-03 05:59:13.819237 |
updated_at | 2021-02-01 21:39:02.969019 |
description | Bindings to libjsonnet (https://jsonnet.org/), a domain specific configuration language that helps you define JSON data. |
homepage | |
repository | https://github.com/anguslees/rust-jsonnet.git |
max_upload_size | |
id | 7897 |
size | 70,646 |
libjsonnet bindings for Rust
[dependencies]
jsonnet-rs = "0.6"
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.
rust-jsonnet
is distributed under the terms of the Apache License
(Version 2.0), the same as libjsonnet
itself.
See LICENSE for details.