Crate reproto_core [] [src]

Re-exports

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

Modules

errors
flavored
translator

Translates one IR in-place into another.

utils

Macros

decl_flavor

Structs

Attributes
BytesObject

An named object containing a fixed set of bytes.

CapturingFilesystem

Capture all filesystem operations in-memory.

Context

Context for a single reproto run.

CoreFlavor
EmptyObject

An empty object.

EmptyResolver
ErrorPos
Loc
Mime
PathObject
Pos
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
RpVersionedPackage
Selection
StdinObject
Version

Represents a version number conforming to the semantic versioning scheme.

Enums

ContextItem
RpAccept
RpChannel
RpContext
RpDecl
RpEnumOrdinal
RpEnumType
RpHttpMethod
RpNamed
RpPathPart

A part of a step.

RpReg

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

RpSubTypeStrategy
RpType
RpValue

Constants

DEFAULT_TAG

Default key to use for tagged sub type strategy.

Traits

Filesystem

Filesystem abstraction.

Flavor

The flavor of intermediate representation being used.

ForEachLoc

Helper trait to iterate over a collection of loc items.

Handle
Object
OptionEntry
Options

Helper for looking up and dealing with options.

Resolver

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

WithPos