8 releases

0.5.0-pre95 Aug 13, 2023
0.5.0-pre94 Jul 26, 2023
0.5.0-pre9 May 15, 2023
0.5.0-pre8 Apr 18, 2023
0.5.0-pre6 Jan 8, 2023

#7 in #jsonnet

Download history 101/week @ 2023-08-12 57/week @ 2023-08-19 52/week @ 2023-08-26 37/week @ 2023-09-02 50/week @ 2023-09-09 38/week @ 2023-09-16 21/week @ 2023-09-23 30/week @ 2023-09-30 28/week @ 2023-10-07 37/week @ 2023-10-14 71/week @ 2023-10-21 84/week @ 2023-10-28 73/week @ 2023-11-04 67/week @ 2023-11-11 38/week @ 2023-11-18 55/week @ 2023-11-25

242 downloads per month
Used in 4 crates

MIT license

13K SLoC


release license opencollective

What is it

Jsonnet is a data templating language

This Rust crate implements both jsonnet library and an alternative jsonnet executable based on it. For more information see bindings.



jrsonnet is packaged in nixpkgs and maintained by @CertainLach

nix-env -iA nixpkgs.jrsonnet


jrsonnet is packaged to brew and maintained by @messense

brew install jrsonnet

Windows/other linux distributions

You can get latest build of jrsonnet in releases

Build from sources

jrsonnet should build on latest stable Rust version (probally on olders, but there is no MSRV policy provided)

Debug build will work too, but it is much slower than release

cargo build --release


There already are multiple implementations of this standard implemented in different languages: C++, Go, Scala.

This implementation shows performance better than all existing implementations. For more information see benchmarks.

Also, I wanted to experiment on new syntax features, and jrsonnet implements some of them. For more information see features

In the end, it's always fun to implement something in Rust.



crates.io docs.rs

Jrsonnet is written in rust itself, so just add it as dependency



Bindings are created and maintained by @messense


Jrsonnet provides a standard libjsonnet.so shared library and should work as drop-in replacement for it


WASM bingings are also available, Java bindings (Both JNI and WASM compiled to .class) are in progress

See bindings for more information.


~104K SLoC