Crate packrinth

Crate packrinth 

Source
Expand description
logo

Packrinth

CLI tool for creating and managing Minecraft modpacks with Modrinth projects

AUR Version Crates.io Version Crates.io Total Downloads


This library provides utilities for integrating with Packrinth. For example, the module config gives structs for reading and editing Packrinth configuration files. The module modrinth can be used to retrieve data from Modrinth and convert it to Packrinth-compatible structs.

If you just want to use the Packrinth CLI, go to https://packrinth.thijzert.nl to see how to use it. You can also use it to get a better understanding of Packrinth’s main principles.

Modules§

config
Structs for configuring and managing a Packrinth modpack instance.
crates_io
Structs for communicating with the crates.io API.
modrinth
Structs that are only used for (de)serializing JSONs associated with Modrinth.

Structs§

GitUtils
Utils for working with a Git-managed modpack instance.
ProjectTable
A table that can be used to show which branches contain which projects.
ProjectUpdater
A utilization struct used for updating a project for a branch.

Enums§

PackrinthError
An error that can occur while performing Packrinth operations.
ProjectUpdateResult
The result when updating a project.

Constants§

MRPACK_INDEX_FILE_NAME
The file name of the configuration file inside a .mrpack pack.
TARGET_DIRECTORY
The name of the target directory.

Type Aliases§

PackrinthResult
A result with PackrinthError as Err.