Crate mcvm_pkg

Source
Expand description

mcvm_pkg is a library for dealing with MCVM packages

§Features:

  • schema: Enable generation of JSON schemas using the schemars crate

Re-exports§

pub use mcvm_parse as parse;

Modules§

declarative
Standard declarative package format
metadata
Package metadata
properties
Package properties
repo
Standard repository format
resolve
Standardized package dependency resolution
script_eval
Framework for evaluating script packages

Structs§

PkgRequest
Used to store a request for a package that will be fulfilled later
RecommendedPackage
A recommended package
RequiredPackage
A required package

Enums§

PackageContentType
Content type of a package
PkgRequestSource
Where a package was requested from

Traits§

ConfiguredPackage
Trait for a user-configured package
PackageEvalRelationsResult
Trait for the result from evaluating a package, used for resolution
PackageEvaluator
Trait for a central package registry that can evaluate packages

Functions§

is_open_source
Checks if a package is open source
parse_and_validate
Parses and validates a package