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