Skip to main content

mnm_core/
lib.rs

1//! `mnm-core` — shared primitives for the midnight-manual workspace.
2//!
3//! Phase 2 lands the foundational shared types: typed error envelope
4//! ([`error`]), embedding-model wire id ([`model_id`]), provenance / content
5//! / source / chunk types ([`provenance`], [`types`]), XDG config discovery
6//! ([`config`]), auth-file reader ([`auth_file`]), and the scoring-policy
7//! loader ([`scoring_policy`]). Each module is independently usable and
8//! independently testable.
9
10#![doc(html_root_url = "https://docs.rs/mnm-core/0.1.0")]
11
12pub mod auth_file;
13pub mod config;
14pub mod error;
15pub mod limits;
16pub mod model_id;
17pub mod paths;
18pub mod provenance;
19pub mod rerank;
20pub mod scoring;
21pub mod scoring_policy;
22pub mod types;
23pub mod version_match;
24
25/// Crate version stamped at build time.
26pub const VERSION: &str = env!("CARGO_PKG_VERSION");