Skip to content
프로젝트

소개

Rust implementation of Jsonnet language.

프로그래밍 언어 및 런타임

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
+1
in 15 days
+2
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

jrsonnet

jrsonnet logo

release donate license

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.

Install

NixOS

jrsonnet is packaged in nixpkgs and maintained by @CertainLach

nix-env -iA nixpkgs.jrsonnet

MacOS

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 (probably on the oldest, but there is no MSRV policy provided)

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

cargo build --release

Why?

There already are multiple implementations of this standard implemented in different languages:

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.

Bindings

Rust

crates.io docs.rs

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

JavaScript/TypeScript (WASM)

JSR JSR score npm

WASM bindings are published to JSR and NPM as @deltarocks/jrsonnet.

deno add jsr:@deltarocks/jrsonnet

yarn add @deltarocks/jrsonnet

Python

crates.io

Bindings are created and maintained by @messense

C/C++

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

Other

Java bindings (Both JNI and WASM compiled to .class) are in progress

See bindings for more information.

관련 프로젝트 살펴보기

불러오는 중…