ensan

Crates.ioensan
lib.rsensan
version0.2.1
sourcesrc
created_at2024-05-26 17:34:43.557575
updated_at2024-05-28 19:11:22.984194
descriptionExtended HCL expression evaluator
homepagehttps://fyralabs.com
repositoryhttps://github.com/FyraLabs/ensan
max_upload_size
id1252722
size63,901
crates.io Maintainer (github:fyralabs:crates-io-maintainer)

documentation

https://docs.rs/ensan

README

ensan

Crates.io Version Crates.io License

A corrosive expression engine for a corroded language.

Extended (Dynamic) Evaluation Engine for hcl-rs.

This crate aims to provide an extended evaluation engine for hcl-rs. It simplifies the usage of hcl-rs by re-implementing features in hcldec library. It includes advanced DAG graph building and evaluation features, allowing evaluation of references in the current document without needing additional variables in the context, similar to Terraform's behavior.

Features

  • Re-implementations of the HCL2 built-in functions from Terraform, Packer, and other HashiCorp tools.
  • Out-of-the-box support for evaluating references in the current document.
  • Simple API for evaluating entire documents with serde serialization support.

For usage, see the documentation for the [engine] module.

Commit count: 54

cargo fmt