3 releases (breaking)
0.17.0 | Feb 1, 2021 |
---|---|
0.6.0 | May 5, 2018 |
0.5.0 | Jan 3, 2017 |
#16 in #jsonnet
722 downloads per month
Used in 5 crates
(via jsonnet-rs)
2MB
33K
SLoC
rust-jsonnet
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.