Enum cargo_registry::uploaders::Uploader [] [src]

pub enum Uploader {
    S3 {
        bucket: Bucket,
        proxy: Option<String>,
    },
    Local,
    NoOp,
}

Variants

For production usage, uploads and redirects to s3. For test usage with a proxy.

Fields of S3

For development usage only: "uploads" crate files to dist and serves them from there as well to enable local publishing and download

For one-off scripts where creating a Config is needed, but uploading is not.

Methods

impl Uploader
[src]

Trait Implementations

impl Clone for Uploader
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more