Expand description
Cloud storage copy utility.
The cloud-copy crate offers a simple API for transferring files to and
from Azure Blob Storage, Amazon S3, and Google Cloud Storage.
It exports a function named copy which is responsible for copying a
source to a destination.
An optional transfer event stream provided to the copy function can be
used to display transfer progress.
Additionally, when this crate is built with the cli feature enabled, a
handle_events function is exported that will display
progress bars using the tracing_indicatif crate.
Modules§
- cli
cli - Utility code for CLI implementations.
Structs§
- Alphanumeric
- An alphanumeric string generator.
- Azure
Config - Represents configuration for Azure Storage.
- Config
- Configuration used in a cloud copy operation.
- Google
Auth Config - Represents authentication configuration for Google Cloud Storage.
- Google
Config - Represents configuration for Google Cloud Storage.
- Http
Client - Represents a client to use for making HTTP requests.
- S3Auth
Config - Represents authentication configuration for S3.
- S3Config
- Represents configuration for AWS S3.
Enums§
- Azure
Error - Represents an Azure-specific copy operation error.
- Error
- Represents a copy operation error.
- Google
Error - Represents a Google-specific copy operation error.
- Location
- Represents either a local or remote location.
- S3Error
- Represents a S3-specific copy operation error.
- Transfer
Event - Represents an event that may occur during a file transfer.
Traits§
- UrlExt
- Extension trait for
Url.
Functions§
- copy
- Copies a source location to a destination location.
- rewrite_
url - Re-writes a cloud storage schemed URL (e.g.
az://,s3://,gs://) to a correspondinghttps://URL.
Type Aliases§
- Result
- Represents a result for copy operations.