Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move gsutil code to a separate repo #44

Merged
merged 1 commit into from
Feb 18, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 4 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,24 +12,17 @@
## Why?

* You want to control how you actually make HTTP requests against GCS.
* You want to have more control over your dependencies, and not be bottlenecked for sticking to a particular version, or quickly upgrading, your HTTP related crates.

## Why not?

* This crate only supports some operations.
* There are several other GCS crates available that have many more features and are easier
to work with, if you don't care about what HTTP clients they use.
* There are several other GCS crates available that have many more features and are easier to work with, if you don't care about what HTTP clients they use.
* This crate requires more boilerplate to work with.

## Examples
## Example

The examples directory includes a simplified version of [gsutil](https://cloud.google.com/storage/docs/gsutil). This
is a work in progress that gives examples of using the different operations that are currently supported in this crate.

* [cat](examples/gsutil/cat.rs) - Shows an example [Object::download](https://docs.rs/tame-gcs/latest/tame_gcs/objects/struct.Object.html#method.download)
* [cp](examples/gsutil/cp.rs) - Shows an example of [Object::download](https://docs.rs/tame-gcs/latest/tame_gcs/objects/struct.Object.html#method.download) as well as [Object::insert_multipart](https://docs.rs/tame-gcs/latest/tame_gcs/objects/struct.Object.html#method.insert_multipart)
* [ls](examples/gsutil/ls.rs) - Shows an example of [Object::list](https://docs.rs/tame-gcs/latest/tame_gcs/objects/struct.Object.html#method.list)
* [signurl](examples/gsutil/signurl.rs) - Shows an example of [UrlSigner](https://docs.rs/tame-gcs/latest/tame_gcs/signed_url/struct.UrlSigner.html)
* [stat](examples/gsutil/stat.rs) - Shows an example of [Object::get](https://docs.rs/tame-gcs/latest/tame_gcs/objects/struct.Object.html#method.get)
For example usage, see the [gsutil](https://github.com/EmbarkStudios/gsutil) crate, which reimplements parts of the official gsutil tool.

## Contributing

Expand Down
55 changes: 0 additions & 55 deletions examples/gsutil/cat.rs

This file was deleted.

107 changes: 0 additions & 107 deletions examples/gsutil/cp.rs

This file was deleted.

Loading