Skip to main content

Crate loadsmith_thunderstore

Crate loadsmith_thunderstore 

Source
Expand description

Thunderstore API client, index backends, and r2z format for the loadsmith mod-manager library.

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::PackageId;
use loadsmith_thunderstore::PackageIdExt;

let id = PackageId::new("Author-Name");
let ident = id.into_ts_ident().unwrap();
assert_eq!(ident.to_string(), "Author-Name");

Modules§

in_memory
r2z
sqlite

Structs§

ThunderstoreRegistry
A registry that wraps a thunderstore package index.

Enums§

Error
Errors that can occur during thunderstore operations.

Traits§

PackageIdExt
Conversion between PackageId and PackageIdent.
PackageRefExt
Conversion between PackageRef and VersionIdent.

Functions§

distribution_into_platform
Converts a thunderstore Distribution into a loadsmith_platform::Platform.
r2_config_to_loader
Converts an r2modman loader configuration into a Loader implementation.

Type Aliases§

Result
A specialized Result type for thunderstore operations.