Crate reproto_core [] [src]

Re-exports

pub extern crate reproto_semver as semver;
pub extern crate serde;
pub use self::translator::FlavorTranslator;
pub use self::translator::PackageTranslator;
pub use self::translator::Translate;
pub use self::translator::Translator;

Modules

errors
flavored
translator

Translates one IR in-place into another.

utils

Macros

decl_flavor
translator_defaults

Structs

Attributes
CapturingFilesystem

Capture all filesystem operations in-memory.

Context

Context for a single reproto run.

CoreFlavor

The first flavor where packages are fully qualified.

EmptyResolver
Loc
Mime
Range

A Range is a struct containing a list of predicates that can apply to ranges of version numbers. Matching operations can then be done with the Range against a particular version to see if it satisfies some or all of the constraints.

RealFilesystem

Real filesystem implementation.

RelativePath

A borrowed, immutable relative path.

RelativePathBuf

An owned, mutable relative path.

Reporter

A reporter that processes the given error for the context.

Resolved

A resolved package.

ResolvedByPrefix

A resolved package.

RpCode
RpEndpoint
RpEndpointArgument

An argument to an endpont.

RpEndpointHttp
RpEndpointHttp1

A model that describes the endpoint as an HTTP/1.1 endpoint.

RpEnumBody
RpField
RpFile
RpInterfaceBody
RpName
RpNumber
RpPackage
RpPackageFormat

Helper structure to format package information.

RpPathSpec

A path specification.

RpPathStep

A step in a path specification.

RpRequiredPackage
RpServiceBody
RpServiceBodyHttp
RpSubType
RpTupleBody
RpTypeBody
RpVariant

Variant in an enum

RpVersionedPackage
Selection
Source
Span
Version

Represents a version number conforming to the semantic versioning scheme.

Enums

ContextItem
RpAccept
RpChannel
RpContext
RpDecl
RpEnumOrdinal

Data Models for the final model stage stage.

RpEnumType

Model for enum types

RpHttpMethod
RpNamed
RpPathPart

A part of a step.

RpReg

Marker for the existence of a registered type of the given kind.

RpSubTypeStrategy
RpType
RpValue
SymbolKind

Constants

DEFAULT_TAG

Default key to use for tagged sub type strategy.

Traits

AsPackage
Filesystem

Filesystem abstraction.

Flavor

The flavor of intermediate representation being used.

FlavorField
ForEachLoc

Helper trait to iterate over a collection of loc items.

Handle
OptionEntry
Options

Helper for looking up and dealing with options.

Resolver

Trait that translates a required package into a set of versions and objects.

WithSpan