git.delta.rocks / jrsonnet / refs/commits / 5858c9313e03

difftreelog

source

bindings/jsonnet/Cargo.toml1.6 KiBsourcehistory
1# NOTE: This library may panic, and it is only safe to panic in FFI contexts when library is built in panic="abort" mode,2# which is set for release builds of this library.3# FIXME: Move this warning somewhere else, or remove panics from this library (It is not always possible, in some cases4# there is nothing to report the error, in those cases use `abort()`)5# NOTE: This library assumes the allocator is libc malloc or alternative, which does track allocation size for user,6# see TODO in `jsonnet_realloc`.78[package]9name = "libjsonnet"10description = "Rust implementation of libjsonnet.so"11authors.workspace = true12edition.workspace = true13license.workspace = true14repository.workspace = true15version.workspace = true16publish = false1718[lints]19workspace = true2021[dependencies]22jrsonnet-evaluator.workspace = true23jrsonnet-ir.workspace = true24jrsonnet-stdlib.workspace = true25jrsonnet-gcmodule.workspace = true26jrsonnet-interner.workspace = true2728[lib]29name = "jsonnet"30crate-type = ["cdylib", "staticlib"]3132[features]33default = ["interop-common", "interop-wasm", "interop-threading"]34# Export additional functions for native integration, i.e ability to set custom trace format35interop-common = []36# Provide ability to statically override callbacks from WASM (by using imports)37interop-wasm = []38# Provide ability to move jsonnet vm state between threads39interop-threading = []4041experimental = ["exp-preserve-order", "exp-destruct"]42exp-preserve-order = [43  "jrsonnet-evaluator/exp-preserve-order",44  "jrsonnet-stdlib/exp-preserve-order",45]46exp-destruct = ["jrsonnet-evaluator/exp-destruct"]