hcl-primitives

Crates.iohcl-primitives
lib.rshcl-primitives
version0.1.7
sourcesrc
created_at2023-03-10 19:39:14.662136
updated_at2024-10-04 11:16:18.832105
descriptionPrimitives used by the HCL sub-languages
homepage
repositoryhttps://github.com/martinohmann/hcl-rs
max_upload_size
id806677
size62,202
(martinohmann)

documentation

https://docs.rs/hcl-primitives/

README

hcl-primitives

Build Status crates.io docs.rs License: Apache 2.0 License: MIT

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 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.

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.

Commit count: 532

cargo fmt