Skip to main content

Crate mc_snap

Crate mc_snap 

Source
Expand description

mc-snap: declarative Minecraft server management.

This crate ships both a binary (mc-snap) and a library surface used by integration tests. The module layout mirrors the original multi-crate split: yml/lock/cache/download/paths/snapshot/proclock/state/traits are the core types; providers and loaders are the pluggable resolvers; runtime handles process and Java management; commands/compat/ orchestrate/props implement the CLI surface.

Re-exports§

pub use traits::AvailableVersion;
pub use traits::LaunchCtx;
pub use traits::LoaderSpec;
pub use traits::ModProvider;
pub use traits::ModSpec;
pub use traits::ResolveEnv;
pub use traits::ResolvedLoader;
pub use traits::ResolvedMod;
pub use traits::ServerLoader;

Modules§

cache
commands
compat
download
loaders
lock
orchestrate
paths
proclock
Cross-process advisory lock on a project. Prevents two concurrent mc-snap install / update / start invocations from stomping each other’s yml, lockfile, or .mc-snap/server/.
props
providers
runtime
snapshot
state
style
Minimal ANSI styling helpers shared by every command.
traits
yml