Crate reproto_manifest [] [src]

Functions and data-structures for loading a project manifest.

Project manifests can be loaded as a convenient method for setting up language or project-specific configuration for reproto.

Modules

errors

Structs

Doc
Manifest

The realized project manifest.

ManifestFile
ManifestPreamble

The first part when the manifest was read.

NoLang

Fallback language support in case no language is specified.

Package
Publish
Repository

Enums

Language

Enum designating which language is being compiled.

NoModule
Preset

A quick bundle of configuration that can be applied, depending on what the project looks like.

Traits

Lang

The trait that describes the specific implementation of a given language.

TryFromToml

Trait to convert different types.

Functions

load_common_manifest

Load and apply all options to the given file manifest to build a realized manifest.

load_repository

Load and apply all repository-specific information.

opt_specs

Parse optional specs.

parse_spec

Parse a single specification where the string key is a package.

parse_specs

Parse multiple speicifcations where the keys are packages.

read_manifest

Read the given manifest.

read_manifest_preamble

Read and parse the manifest as TOML, extracting the language (if present) in the process.