| Crates.io | hcl-primitives |
| lib.rs | hcl-primitives |
| version | 0.1.9 |
| created_at | 2023-03-10 19:39:14.662136+00 |
| updated_at | 2025-06-28 22:26:09.153958+00 |
| description | Primitives used by the HCL sub-languages |
| homepage | |
| repository | https://github.com/martinohmann/hcl-rs |
| max_upload_size | |
| id | 806677 |
| size | 65,240 |
Primitives used by the HCL sub-languages.
It is recommended to use hcl-rs or
hcl-edit instead of depending on hcl-primitives
directly.
The following features are available:
perf: enables parser performance optimizations such as inlining of small
strings on the stack. This feature is disabled by default. Enabling it will
pull in kstring as a dependency. The perf feature depends on the std
feature and enables it automatically.serde: Provides Serialize
and Deserialize
implementations for various types within this crate. This feature is disabled
by default. Enabling it will pull in serde as a dependency.std: Use the Rust Standard Library as a dependency. Disabling this feature
will allow usage in #![no_std] environments. This feature is enabled by
default.Contributions are welcome! Please read
CONTRIBUTING.md
before creating a PR.
The source code of hcl-primitives is licensed under either of Apache License, Version 2.0 or MIT license at your option.