Skip to main content

logicaffeine_lexicon/
lib.rs

1#![cfg_attr(docsrs, feature(doc_cfg))]
2#![warn(missing_docs)]
3#![doc = include_str!("../README.md")]
4
5/// Lexicon type definitions for grammatical and semantic categories.
6pub mod types;
7pub use types::*;
8
9/// Runtime JSON-based lexicon loading (requires `dynamic-lexicon` feature).
10///
11/// This module provides dynamic lexicon loading as an alternative to compile-time
12/// code generation. It defines its own entry types (`runtime::VerbEntry`, etc.)
13/// for JSON deserialization, distinct from the compile-time types in [`types`].
14#[cfg(feature = "dynamic-lexicon")]
15#[cfg_attr(docsrs, doc(cfg(feature = "dynamic-lexicon")))]
16pub mod runtime;