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

[IMPORTANT] Transfer namespace to Google Cloud Official. #352

Merged
merged 1 commit into from
Feb 7, 2025
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
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,18 @@ Providing a high level API for gRPC API like [Google Cloud Go](https://github.co

![CI](https://github.com/yoshidan/google-cloud-rust/workflows/CI/badge.svg?branch=main)

## Announcement
### 2025.02.06:
Since the development of [google cloud rust by Google](https://github.com/googleapis/google-cloud-rust) seems to have resumed,
We have decided to donate the `google-cloud-*` namespace to Google.
#### Migration from `google-cloud-*` to `gcloud-*`

Library users do not need to modify existing code.
Use `package` option at [dependency] in Cargo.toml
```
google-cloud-spanner = { package="gcloud-spanner", version="1.0.0" }
```

## Component

* [google-cloud-spanner](./spanner)
Expand Down
25 changes: 12 additions & 13 deletions artifact-registry/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,34 +1,33 @@
[package]
name = "google-cloud-artifact-registry"
version = "0.8.0"
name = "gcloud-artifact-registry"
version = "1.0.0"
edition = "2021"
authors = ["yoshidan <[email protected]>"]
repository = "https://github.com/yoshidan/google-cloud-rust/tree/main/artifact-registry"
keywords = ["gcp", "artifacts-registry","googleapis","google-cloud-rust"]
license = "MIT"
readme = "README.md"
description = "Google Cloud Platform Artifact Registry client library."
documentation = "https://docs.rs/google-cloud-artifact-registry/latest/google_cloud_artifact_registry/"
documentation = "https://docs.rs/gcloud-artifact-registry/latest/gcloud_artifact_registry/"

[lib]
doctest = false

[dependencies]
google-cloud-token = { version = "0.1.2", path = "../foundation/token" }
google-cloud-auth = { optional = true, version = "0.17", path="../foundation/auth", default-features=false }
google-cloud-googleapis = { version="0.16.0", path = "../googleapis", features=["artifact-registry"]}
google-cloud-gax = { version = "0.19.2", path = "../foundation/gax"}
google-cloud-longrunning = { version = "0.21.0", path = "../foundation/longrunning" }
google-cloud-token = { package = "gcloud-token", version = "1.0.0", path = "../foundation/token" }
google-cloud-auth = { package = "gcloud-auth", optional = true, version = "1.0.0", path="../foundation/auth", default-features=false }
google-cloud-googleapis = { package = "gcloud-googleapis", version="1.0.0", path = "../googleapis", features=["artifact-registry"]}
google-cloud-gax = { package = "gcloud-gax", version = "1.0.0", path = "../foundation/gax"}
google-cloud-longrunning = { package = "gcloud-longrunning", version = "1.0.0", path = "../foundation/longrunning" }
tracing = "0.1"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
thiserror = "1.0"
prost-types = "0.13"

[dev-dependencies]
tokio = { version="1.32", features=["rt-multi-thread"] }
serial_test = "3.1"
tracing-subscriber = { version="0.3.17", features=["env-filter"]}
ctor = "0.1"
tokio-util = {version ="0.7", features = ["codec"] }
google-cloud-auth = { path = "../foundation/auth", default-features=false }
google-cloud-auth = { package = "gcloud-auth", path = "../foundation/auth", default-features=false }

[features]
default = ["default-tls", "auth"]
Expand Down
4 changes: 2 additions & 2 deletions artifact-registry/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Google Cloud Platform Artifact Registry Client library.

[![crates.io](https://img.shields.io/crates/v/google-cloud-artifact-registry.svg)](https://crates.io/crates/google-cloud-artifact-registry)
[![crates.io](https://img.shields.io/crates/v/gcloud-artifact-registry.svg)](https://crates.io/crates/google-cloud-artifact-registry)

* [About Artifact Registry](https://cloud.google.com/artifact-registry/)
* [JSON API Documentation](https://cloud.google.com/artifact-registry/docs/reference/rest)
Expand All @@ -12,7 +12,7 @@ Google Cloud Platform Artifact Registry Client library.

```toml
[dependencies]
google-cloud-artifact-registry = "version"
google-cloud-artifact-registry = {package="gcloud-artifact-registry", version="1.0.0" }
```

## Quickstart
Expand Down
20 changes: 11 additions & 9 deletions bigquery/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,20 +1,23 @@
[package]
name = "google-cloud-bigquery"
version = "0.15.0"
name = "gcloud-bigquery"
version = "1.0.0"
edition = "2021"
authors = ["yoshidan <[email protected]>"]
repository = "https://github.com/yoshidan/google-cloud-rust/tree/main/bigquery"
keywords = ["gcp","bigquery","googleapis","google-cloud-rust"]
license = "MIT"
readme = "README.md"
description = "Google Cloud Platform bigquery client library."
documentation = "https://docs.rs/google-cloud-bigquery/latest/google_cloud_bigquery/"
documentation = "https://docs.rs/gcloud-bigquery/latest/gcloud_bigquery/"

[lib]
doctest = false

[dependencies]
async-trait = "0.1"
google-cloud-token = { version = "0.1.2", path = "../foundation/token" }
google-cloud-googleapis = { version="0.16.0", path = "../googleapis", features=["bigquery"]}
google-cloud-gax = { version = "0.19.2", path = "../foundation/gax"}
google-cloud-token = { package = "gcloud-token", version = "1.0.0", path = "../foundation/token" }
google-cloud-googleapis = { package = "gcloud-googleapis", version="1.0.0", path = "../googleapis", features=["bigquery"]}
google-cloud-gax = { package = "gcloud-gax", version = "1.0.0", path = "../foundation/gax"}
thiserror = "1.0"
tracing = "0.1"
reqwest = { version = "0.12.4", features = ["json", "stream", "multipart", "charset"], default-features = false }
Expand All @@ -32,15 +35,14 @@ anyhow = "1.0"
async-stream = "0.3"
prost-types = "0.13"

google-cloud-auth = { optional = true, version = "0.17", path="../foundation/auth", default-features=false }
google-cloud-auth = { package = "gcloud-auth", optional = true, version = "1.0.0", path="../foundation/auth", default-features=false }

[dev-dependencies]
tokio = { version="1.32", features=["rt-multi-thread"] }
serial_test = "3.1"
tracing-subscriber = { version="0.3.17", features=["env-filter"] }
ctor = "0.1.26"
tokio-util = {version ="0.7", features = ["codec"] }
google-cloud-auth = { path = "../foundation/auth", default-features=false }
google-cloud-auth = { package = "gcloud-auth", path = "../foundation/auth", default-features=false }
base64-serde = "0.7"
prost = "0.13"
futures-util = "0.3"
Expand Down
4 changes: 2 additions & 2 deletions bigquery/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@

Google Cloud Platform BigQuery Client library.

[![crates.io](https://img.shields.io/crates/v/google-cloud-bigquery.svg)](https://crates.io/crates/google-cloud-bigquery)
[![crates.io](https://img.shields.io/crates/v/gcloud-bigquery.svg)](https://crates.io/crates/gcloud-bigquery)

## Installation

```toml
[dependencies]
google-cloud-bigquery = version
google-cloud-bigquery = { package="gcloud-bigquery", version="1.0.0" }
```

## Quick Start
Expand Down
11 changes: 7 additions & 4 deletions foundation/auth/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "google-cloud-auth"
version = "0.17.2"
name = "gcloud-auth"
version = "1.0.0"
authors = ["yoshidan <[email protected]>"]
edition = "2021"
repository = "https://github.com/yoshidan/google-cloud-rust/tree/main/foundation/auth"
Expand All @@ -9,6 +9,9 @@ license = "MIT"
readme = "README.md"
description = "Google Cloud Platform server application authentication library."

[lib]
doctest = false

[dependencies]
tracing = "0.1"
reqwest = { version = "0.12.4", features = ["json", "charset"], default-features = false }
Expand All @@ -20,8 +23,8 @@ async-trait = "0.1"
home = "0.5"
urlencoding = "2.1"
tokio = { version = "1.32", features = ["fs"] }
google-cloud-metadata = { version = "0.5.0", path = "../metadata" }
google-cloud-token = { version = "0.1.2", path = "../token" }
google-cloud-metadata = { package = "gcloud-metadata", version = "1.0.0", path = "../metadata" }
google-cloud-token = { package = "gcloud-token", version = "1.0.0", path = "../token" }
base64 = "0.21"
time = "0.3"

Expand Down
6 changes: 3 additions & 3 deletions foundation/auth/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@

Google Cloud Platform server application authentication library.

[![crates.io](https://img.shields.io/crates/v/google-cloud-auth.svg)](https://crates.io/crates/google-cloud-auth)
[![crates.io](https://img.shields.io/crates/v/gloud-auth.svg)](https://crates.io/crates/gcloud-auth)

## Installation

```toml
[dependencies]
google-cloud-auth = <version>
google-cloud-token = "0.1.2"
google-cloud-auth = { package="gcloud-auth", version="1.0.0" }
google-cloud-token = { package="gcloud-token", version="1.0.0" }
```

## Quickstart
Expand Down
9 changes: 6 additions & 3 deletions foundation/gax/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "google-cloud-gax"
version = "0.19.2"
name = "gcloud-gax"
version = "1.0.0"
authors = ["yoshidan <[email protected]>"]
edition = "2018"
repository = "https://github.com/yoshidan/google-cloud-rust/tree/main/foundation/gax"
Expand All @@ -9,12 +9,15 @@ license = "MIT"
readme = "README.md"
description = "Google Cloud Platform gRPC retry library."

[lib]
doctest = false

[dependencies]
tracing = "0.1"
tokio = { version = "1.32", features = ["macros"] }
tonic = { version = "0.12", default-features = false, features = ["prost", "tls-webpki-roots"] }
thiserror = "1.0"
tower = { version = "0.4", features = ["filter", "util"] }
http = "1.1"
google-cloud-token = { version = "0.1.2", path = "../token" }
google-cloud-token = { package = "gcloud-token", version = "1.0.0", path = "../token" }
tokio-retry2 = "0.5.3"
4 changes: 2 additions & 2 deletions foundation/gax/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@

Google Cloud Platform gRPC retry library.

[![crates.io](https://img.shields.io/crates/v/google-cloud-gax.svg)](https://crates.io/crates/google-cloud-gax)
[![crates.io](https://img.shields.io/crates/v/gcloud-gax.svg)](https://crates.io/crates/gcloud-gax)

## Installation

```toml
[dependencies]
google-cloud-gax = <version>
google-cloud-gax = { package="gcloud-gax", verion="1.0.0" }
```

11 changes: 7 additions & 4 deletions foundation/longrunning/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "google-cloud-longrunning"
version = "0.21.0"
name = "gcloud-longrunning"
version = "1.0.0"
authors = ["yoshidan <[email protected]>"]
edition = "2021"
repository = "https://github.com/yoshidan/google-cloud-rust/tree/main/foundation/longrunning"
Expand All @@ -9,8 +9,11 @@ license = "MIT"
readme = "README.md"
description = "Google Cloud Platform longrunning library."

[lib]
doctest = false

[dependencies]
google-cloud-googleapis = { version = "0.16.0", path = "../../googleapis" }
google-cloud-gax = { version = "0.19.2", path = "../gax" }
google-cloud-googleapis = { package = "gcloud-googleapis", version = "1.0.0", path = "../../googleapis" }
google-cloud-gax = { package = "gcloud-gax", version = "1.0.0", path = "../gax" }
tonic = { version = "0.12", default-features = false }
prost = "0.13"
4 changes: 2 additions & 2 deletions foundation/longrunning/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@

Google Cloud Platform long running operation library.

[![crates.io](https://img.shields.io/crates/v/google-cloud-longrunning.svg)](https://crates.io/crates/google-cloud-longrunning)
[![crates.io](https://img.shields.io/crates/v/gcloud-longrunning.svg)](https://crates.io/crates/gcloud-longrunning)

## Installation

```toml
[dependencies]
google-cloud-longrunning = <version>
google-cloud-longrunning = { package="gcloud-longrunning", version="..." }
```

7 changes: 5 additions & 2 deletions foundation/metadata/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "google-cloud-metadata"
version = "0.5.1"
name = "gcloud-metadata"
version = "1.0.0"
authors = ["yoshidan <[email protected]>"]
edition = "2021"
repository = "https://github.com/yoshidan/google-cloud-rust/tree/main/foundation/metadata"
Expand All @@ -9,6 +9,9 @@ license = "MIT"
readme = "README.md"
description = "Google Cloud Platform rust client."

[lib]
doctest = false

[dependencies]
tokio = { version = "1.32", features = ["sync", "net", "parking_lot"] }
# this crate uses http only
Expand Down
4 changes: 2 additions & 2 deletions foundation/metadata/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@

Google Cloud Platform GCE check library.

[![crates.io](https://img.shields.io/crates/v/google-cloud-metadata.svg)](https://crates.io/crates/google-cloud-metadata)
[![crates.io](https://img.shields.io/crates/v/gcloud-metadata.svg)](https://crates.io/crates/gcloud-metadata)

## Installation

```toml
[dependencies]
google-cloud-metadata = <version>
google-cloud-metadata = { package="gcloud-metadata", version="..." }
```

## Usage
Expand Down
2 changes: 1 addition & 1 deletion foundation/metadata/tests/test.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use google_cloud_metadata::{email, on_gce, Error};
use gcloud_metadata::{email, on_gce, Error};

#[tokio::test]
async fn test_on_gce() {
Expand Down
7 changes: 5 additions & 2 deletions foundation/token/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "google-cloud-token"
version = "0.1.2"
name = "gcloud-token"
version = "1.0.0"
authors = ["yoshidan <[email protected]>"]
edition = "2021"
repository = "https://github.com/yoshidan/google-cloud-rust/tree/main/foundation/token"
Expand All @@ -9,5 +9,8 @@ license = "MIT"
readme = "README.md"
description = "Google Cloud Platform token spec."

[lib]
doctest = false

[dependencies]
async-trait = "0.1"
4 changes: 2 additions & 2 deletions foundation/token/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

Google Cloud Platform token spec for google-cloud-rust.

[![crates.io](https://img.shields.io/crates/v/google-cloud-token.svg)](https://crates.io/crates/google-cloud-token)
[![crates.io](https://img.shields.io/crates/v/gcloud-token.svg)](https://crates.io/crates/gcloud-token)

## Installation

```toml
[dependencies]
google-cloud-token = <version>
google-cloud-token = { package="gcloud-token", version="1.0.0" }
```
7 changes: 4 additions & 3 deletions googleapis/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "google-cloud-googleapis"
version = "0.16.1"
name = "gcloud-googleapis"
version = "1.0.0"
authors = ["yoshidan <[email protected]>"]
edition = "2021"
repository = "https://github.com/yoshidan/google-cloud-rust/tree/main/googleapis"
Expand All @@ -9,7 +9,8 @@ license = "MIT"
readme = "README.md"
description = "Google Cloud Platform rust client."

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
doctest = false

[dependencies]
tonic = { version = "0.12", default-features = false, features = ["channel", "prost", "codegen", "gzip"] }
Expand Down
2 changes: 1 addition & 1 deletion googleapis/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## Generate gRPC Client

[![crates.io](https://img.shields.io/crates/v/google-cloud-googleapis.svg)](https://crates.io/crates/google-cloud-googleapis)
[![crates.io](https://img.shields.io/crates/v/gcloud-googleapis.svg)](https://crates.io/crates/gcloud-googleapis)

```bash
git submodule update --init --recursive --progress --depth=1
Expand Down
Loading
Loading