Cargo Features
Jrsonnet has no features set by default.
[dependencies]
jrsonnet = { version = "0.5.0-pre95", features = ["experimental", "mimalloc", "exp-preserve-order", "exp-destruct", "exp-object-iteration", "exp-bigint", "exp-null-coaelse", "exp-apply", "legacy-this-file", "nightly"] }
- experimental = exp-apply, exp-bigint, exp-destruct, exp-null-coaelse, exp-object-iteration, exp-preserve-order
- mimalloc = mimallocator
-
Use mimalloc as allocator
- exp-preserve-order experimental?
-
Experimental feature, which allows to preserve order of object fields
Enables exp-preserve-order of jrsonnet-cli and jrsonnet-evaluator
- exp-destruct experimental?
-
Destructuring of locals
Enables exp-destruct of jrsonnet-evaluator
- exp-object-iteration experimental?
-
Iteration over objects yields [key, value] elements
Enables exp-object-iteration of jrsonnet-evaluator
- exp-bigint experimental?
-
Bigint type
Enables exp-bigint of jrsonnet-cli and jrsonnet-evaluator
- exp-null-coaelse experimental?
-
obj?.field, obj?.['field']
Enables exp-null-coaelse of jrsonnet-cli, jrsonnet-evaluator, and jrsonnet-parser
- exp-apply experimental?
-
--exp-apply
- legacy-this-file
-
std.thisFile support
Enables legacy-this-file of jrsonnet-cli
- nightly
-
Enables nightly of jrsonnet-evaluator
jrsonnet-evaluator:
Improves performance, and implements some useful things using nightly-only features
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.