rsjsonnet_lang/
lib.rs

1#![warn(
2    rust_2018_idioms,
3    trivial_casts,
4    trivial_numeric_casts,
5    unreachable_pub,
6    unused_qualifications
7)]
8#![allow(clippy::too_many_arguments, clippy::type_complexity)]
9#![forbid(unsafe_code)]
10
11//! Library to parse and evaluate Jsonnet files.
12//!
13//! See the [`token`], [`lexer`], [`ast`] and [`parser`] modules for
14//! Jsonnet parsing. See the [`program`] module for Jsonnet
15//! evaluation.
16
17pub mod arena;
18pub mod ast;
19mod float;
20mod gc;
21pub mod interner;
22pub mod lexer;
23pub mod parser;
24pub mod program;
25pub mod span;
26pub mod token;
27
28type FHashMap<K, V> = std::collections::HashMap<K, V, foldhash::fast::RandomState>;
29type FHashSet<T> = std::collections::HashSet<T, foldhash::fast::RandomState>;