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 embedder_identity;
15pub mod error;
16pub mod ingest;
17pub mod injection;
18pub mod introspect;
19pub mod limits;
20pub mod model_id;
21pub mod paths;
22pub mod provenance;
23pub mod rerank;
24pub mod scoring;
25pub mod scoring_policy;
26pub mod types;
27pub mod version_match;
28
29/// Crate version stamped at build time.
30pub const VERSION: &str = env!("CARGO_PKG_VERSION");