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;
pub use self::utils::Encoding;
pub use self::utils::Position;
Modules§
- errors
- flavored
- translator
- Translates one IR in-place into another.
- utils
Macros§
Structs§
- Attributes
- BigInt
- A big signed integer type.
- Capturing
Filesystem - Capture all filesystem operations in-memory.
- Context
- Context for a single reproto run.
- Core
Flavor - The first flavor where packages are fully qualified.
- Diagnostics
- A collection of diagnostics emitted by the compiler.
- Empty
Resolver - 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 theRange
against a particular version to see if it satisfies some or all of the constraints. - Real
Filesystem - Real filesystem implementation.
- Relative
Path - A borrowed, immutable relative path.
- Relative
Path Buf - An owned, mutable relative path.
- Resolved
- A resolved package.
- Resolved
ByPrefix - A resolved package.
- RpCode
- RpEndpoint
- RpEndpoint
Argument - An argument to an endpont.
- RpEndpoint
Http - RpEndpoint
Http1 - A model that describes the endpoint as an HTTP/1.1 endpoint.
- RpEnum
Body - RpField
- RpFile
- RpInterface
Body - RpName
- RpNumber
- RpPackage
- RpPackage
Format - Helper structure to format package information.
- RpPath
Spec - A path specification.
- RpPath
Step - A step in a path specification.
- RpRequired
Package - RpService
Body - RpService
Body Http - RpSub
Type - RpTuple
Body - RpType
Body - RpVariant
- Variant in an enum.
- RpVariant
Ref - A cheap, type-erasured variant that can be used for value comparisons.
- RpVersioned
Package - Selection
- Source
- Span
- Version
- Represents a version number conforming to the semantic versioning scheme.
Enums§
- Context
Item - Diagnostic
- A single diagnostic emitted by the compiler.
- RpAccept
- RpChannel
- RpContext
- RpDecl
- RpEnum
Type - Model for enum types
- RpHttp
Method - RpNamed
- RpPath
Part - A part of a step.
- RpReg
- Marker for the existence of a registered type of the given kind.
- RpSub
Type Strategy - RpType
- RpValue
- RpVariant
Value - RpVariants
- Symbol
Kind
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.
- Flavor
Field - Handle
- Import
- Option
Entry - Options
- Helper for looking up and dealing with options.
- Resolver
- Trait that translates a required package into a set of versions and objects.
- With
Span