1//! The extension's logic that needs neither Postgres nor I/O: the batch 2//! planner, the cache key, the rate limiter's GCRA, the label-tree 3//! search, chunk-and-shortlist and the learned token ratio (contract §0). 4 5#![forbid(unsafe_code)] 6 7pub mod batch; 8pub mod cache_key; 9mod gate; 10pub mod gcra; 11pub mod label_tree; 12pub mod shortlist; 13pub mod token_ratio; 14 15pub use batch::{LayoutParity, Placement, Planned, Planner}; 16pub use cache_key::{CacheKey, KeyScope, Layout, PROMPT_VERSION, PromptVersion}; 17pub use token_ratio::{Sample, TokenRatio};