hcl_primitives/
lib.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#![doc = include_str!("../README.md")]
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
#![warn(missing_docs)]
#![warn(clippy::pedantic)]
#![allow(
    clippy::must_use_candidate,
    clippy::module_name_repetitions,
    clippy::missing_panics_doc,
    clippy::needless_lifetimes
)]
#![cfg_attr(not(feature = "std"), no_std)]
#![forbid(unsafe_code)]

extern crate alloc;

#[cfg(feature = "serde")]
mod de;
mod error;
pub mod expr;
pub mod ident;
mod internal_string;
mod number;
pub mod template;

#[doc(inline)]
pub use self::error::Error;

#[doc(inline)]
pub use self::ident::Ident;

#[doc(inline)]
pub use self::internal_string::InternalString;

#[doc(inline)]
pub use self::number::Number;