Skip to main content

mc_snap/
lib.rs

1//! mc-snap: declarative Minecraft server management.
2//!
3//! This crate ships both a binary (`mc-snap`) and a library surface used by
4//! integration tests. The module layout mirrors the original multi-crate split:
5//! `yml`/`lock`/`cache`/`download`/`paths`/`snapshot`/`proclock`/`state`/`traits`
6//! are the core types; `providers` and `loaders` are the pluggable resolvers;
7//! `runtime` handles process and Java management; `commands`/`compat`/
8//! `orchestrate`/`props` implement the CLI surface.
9
10pub mod cache;
11pub mod download;
12pub mod lock;
13pub mod paths;
14pub mod proclock;
15pub mod snapshot;
16pub mod state;
17pub mod traits;
18pub mod yml;
19
20pub mod loaders;
21pub mod providers;
22pub mod runtime;
23
24pub mod commands;
25pub mod compat;
26pub mod orchestrate;
27pub mod props;
28pub mod style;
29
30pub use traits::{
31    AvailableVersion, LaunchCtx, LoaderSpec, ModProvider, ModSpec, ResolveEnv, ResolvedLoader,
32    ResolvedMod, ServerLoader,
33};