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.

Re-exports

pub extern crate reproto_core as core;
pub extern crate reproto_trans as trans;

Macros

lang_base

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

checked_modules

Attempt to perform a checked conversion of the given vector of modules.

load_common_manifest

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

parse_section_any

Parsing modules into Any.

parse_spec

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

parse_specs

Parse multiple speicifcations where the keys are packages.

parse_string_any

Parse the given string as a module.

read_manifest

Read the given manifest.

read_manifest_preamble

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