11 releases
0.1.7 | Oct 4, 2024 |
---|---|
0.1.5 | May 16, 2024 |
0.1.2 | Jan 4, 2024 |
0.1.1 | Jun 15, 2023 |
0.0.2 | Mar 16, 2023 |
#917 in Encoding
7,984 downloads per month
Used in 42 crates
(2 directly)
49KB
1K
SLoC
hcl-primitives
Primitives used by the HCL sub-languages.
It is recommended to use hcl-rs
or
hcl-edit
instead of depending on hcl-primitives
directly.
Cargo features
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 inkstring
as a dependency. Theperf
feature depends on thestd
feature and enables it automatically.serde
: ProvidesSerialize
andDeserialize
implementations for various types within this crate. This feature is disabled by default. Enabling it will pull inserde
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.
Contributing
Contributions are welcome! Please read
CONTRIBUTING.md
before creating a PR.
License
The source code of hcl-primitives is licensed under either of Apache License, Version 2.0 or MIT license at your option.
Dependencies
~47–275KB