Skip to main content

project_json

Function project_json 

Source
pub fn project_json(
    input: &[u8],
    canonical_target: &str,
) -> Result<ManifestProjection, AdapterError>
Expand description

Parse bounded ReleaseManifest JSON and project one exact canonical target.

Parsing and schema validation are delegated to eggpack-manifest. Input contents and parser diagnostics are never included in returned errors.