hcl-primitives

Crates.iohcl-primitives
lib.rshcl-primitives
version0.1.5
sourcesrc
created_at2023-03-10 19:39:14.662136
updated_at2024-05-16 14:47:01.058675
descriptionPrimitives used by the HCL sub-languages
homepage
repositoryhttps://github.com/martinohmann/hcl-rs
max_upload_size
id806677
size61,246
(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: 518

cargo fmt