loadsmith-core 0.3.1

Core types, traits, and errors for the loadsmith mod-manager library
Documentation

This is an internal crate of the [loadsmith] workspace. Most consumers should depend on the loadsmith facade crate instead of using this crate directly.

Examples

# use loadsmith_core::*;
let pkg = PackageRef::new("denikson-BepInExPack_Valheim", Version::new(5, 4, 2202));
assert_eq!(pkg.to_string(), "denikson-BepInExPack_Valheim@5.4.2202");

let parsed: PackageRef = "x753-More_Suits@1.4.0".parse()?;
assert_eq!(parsed.id().as_str(), "x753-More_Suits");
assert_eq!(parsed.version().to_string(), "1.4.0");
# Ok::<_, loadsmith_core::Error>(())