lib.rsannotatedlib.rssource17 lines · 545 B · raw

The extension's logic that needs neither Postgres nor I/O: the batch planner, the cache key, the rate limiter's GCRA, the label-tree search, chunk-and-shortlist and the learned token ratio (contract §0).

5#![forbid(unsafe_code)]
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};