Trait reproto_backend::PackageUtils [] [src]

pub trait PackageUtils {
    fn package_version_unsafe(c: char) -> bool { ... }
fn version_package(input: &Version) -> String { ... }
fn package(&self, package: &RpVersionedPackage) -> RpPackage { ... } }

Provided Methods

Identify if a character is unsafe for use in a package name.

Default strategy for building the version package.

Build the full package of a versioned package.

This uses a relatively safe strategy for encoding the version number. This can be adjusted by overriding version_package.

Implementors