Skip to content

Commit

Permalink
Bump googleapis (#313)
Browse files Browse the repository at this point in the history
* update googleapis

* fix clippy

* fix lint

* tweak tonic feature

* tweak deny.toml

* bump version

* tweak tonic feature
  • Loading branch information
yoshidan authored Sep 30, 2024
1 parent 34c88d6 commit 497f2d2
Show file tree
Hide file tree
Showing 46 changed files with 9,633 additions and 2,139 deletions.
8 changes: 4 additions & 4 deletions artifact-registry/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "google-cloud-artifact-registry"
version = "0.7.1"
version = "0.8.0"
edition = "2021"
authors = ["yoshidan <[email protected]>"]
repository = "https://github.com/yoshidan/google-cloud-rust/tree/main/artifact-registry"
Expand All @@ -13,9 +13,9 @@ documentation = "https://docs.rs/google-cloud-artifact-registry/latest/google_cl
[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.15.0", path = "../googleapis", features=["artifact-registry"]}
google-cloud-gax = { version = "0.19.1", path = "../foundation/gax"}
google-cloud-longrunning = { version = "0.20.0", path = "../foundation/longrunning" }
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" }
tracing = "0.1"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
Expand Down
6 changes: 6 additions & 0 deletions artifact-registry/src/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,13 @@ mod tests {
create_time: None,
update_time: None,
kms_key_name: "".to_string(),
mode: 0,
cleanup_policies: Default::default(),
size_bytes: 0,
satisfies_pzs: false,
cleanup_policy_dry_run: false,
format_config: None,
mode_config: None,
}),
};
let mut created_repository = client.create_repository(create_request.clone(), None).await.unwrap();
Expand Down
6 changes: 3 additions & 3 deletions bigquery/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "google-cloud-bigquery"
version = "0.13.1"
version = "0.14.0"
edition = "2021"
authors = ["yoshidan <[email protected]>"]
repository = "https://github.com/yoshidan/google-cloud-rust/tree/main/bigquery"
Expand All @@ -13,8 +13,8 @@ documentation = "https://docs.rs/google-cloud-bigquery/latest/google_cloud_bigqu
[dependencies]
async-trait = "0.1"
google-cloud-token = { version = "0.1.2", path = "../foundation/token" }
google-cloud-googleapis = { version="0.15.0", path = "../googleapis", features=["bigquery"]}
google-cloud-gax = { version = "0.19.1", path = "../foundation/gax"}
google-cloud-googleapis = { version="0.16.0", path = "../googleapis", features=["bigquery"]}
google-cloud-gax = { version = "0.19.2", path = "../foundation/gax"}
thiserror = "1.0"
tracing = "0.1"
reqwest = { version = "0.12.4", features = ["json", "stream", "multipart", "charset"], default-features = false }
Expand Down
70 changes: 5 additions & 65 deletions deny.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,24 +10,6 @@
# when any section or field is not specified in your own configuration

# Root options

# If 1 or more target triples (and optionally, target_features) are specified,
# only the specified targets will be checked when running `cargo deny check`.
# This means, if a particular package is only ever used as a target specific
# dependency, such as, for example, the `nix` crate only being used via the
# `target_family = "unix"` configuration, that only having windows targets in
# this list would mean the nix crate, as well as any of its exclusive
# dependencies not shared by any other crates, would be ignored, as the target
# list here is effectively saying which targets you are building for.
targets = [
# The triple can be any string, but only the target triples built in to
# rustc (as of 1.40) can be checked against actual config expressions
#{ triple = "x86_64-unknown-linux-musl" },
# You can also specify which target_features you promise are enabled for a
# particular target. target_features are currently not validated against
# the actual valid features supported by the target architecture.
#{ triple = "wasm32-unknown-unknown", features = ["atomics"] },
]
# When creating the dependency graph used as the source of truth when checks are
# executed, this field can be used to prune crates from the graph, removing them
# from the view of cargo-deny. This is an extremely heavy hammer, as if a crate
Expand All @@ -36,45 +18,25 @@ targets = [
# so it should be used with care. The identifiers are [Package ID Specifications]
# (https://doc.rust-lang.org/cargo/reference/pkgid-spec.html)
#exclude = []
# If true, metadata will be collected with `--all-features`. Note that this can't
# be toggled off if true, if you want to conditionally enable `--all-features` it
# is recommended to pass `--all-features` on the cmd line instead
all-features = false
# If true, metadata will be collected with `--no-default-features`. The same
# caveat with `all-features` applies
no-default-features = false
# If set, these feature will be enabled when collecting metadata. If `--features`
# is specified on the cmd line they will take precedence over this option.
#features = []
# When outputting inclusion graphs in diagnostics that include features, this
# option can be used to specify the depth at which feature edges will be added.
# This option is included since the graphs can be quite large and the addition
# of features from the crate(s) to all of the graph roots can be far too verbose.
# This option can be overridden via `--feature-depth` on the cmd line
feature-depth = 1

# This section is considered when running `cargo deny check advisories`
# More documentation for the advisories section can be found here:
# https://embarkstudios.github.io/cargo-deny/checks/advisories/cfg.html
[advisories]
version = 2
# The path where the advisory database is cloned/fetched into
db-path = "~/.cargo/advisory-db"
# The url(s) of the advisory databases to use
db-urls = ["https://github.com/rustsec/advisory-db"]
# The lint level for security vulnerabilities
vulnerability = "deny"
# The lint level for unmaintained crates
unmaintained = "warn"
# The lint level for crates that have been yanked from their source registry
yanked = "warn"
# The lint level for crates with security notices. Note that as of
# 2019-12-17 there are no security notice advisories in
# https://github.com/rustsec/advisory-db
notice = "warn"
# A list of advisory IDs to ignore. Note that ignored advisories will still
# output a note when they are encountered.
ignore = [
#"RUSTSEC-0000-0000",
# TODO wait for release https://github.com/apache/arrow-rs/blob/f41c258246cd4bd9d89228cded9ed54dbd00faff/arrow-cast/Cargo.toml#L52
"RUSTSEC-2023-0086",
]
# Threshold for security vulnerabilities, any vulnerability with a CVSS score
# lower than the range specified will be ignored. Note that ignored advisories
Expand All @@ -96,8 +58,7 @@ ignore = [
# More documentation for the licenses section can be found here:
# https://embarkstudios.github.io/cargo-deny/checks/licenses/cfg.html
[licenses]
# The lint level for crates which do not have a detectable license
unlicensed = "deny"
version = 2
# List of explicitly allowed licenses
# See https://spdx.org/licenses/ for list of possible licenses
# [possible values: any SPDX 3.11 short identifier (+ optional exception)].
Expand All @@ -109,29 +70,8 @@ allow = [
"Unicode-DFS-2016",
"BSD-2-Clause",
"BSD-3-Clause",
"CC0-1.0",
"Unicode-3.0"
]
# List of explicitly disallowed licenses
# See https://spdx.org/licenses/ for list of possible licenses
# [possible values: any SPDX 3.11 short identifier (+ optional exception)].
deny = [
#"Nokia",
"CC0-1.0"
]
# Lint level for licenses considered copyleft
copyleft = "warn"
# Blanket approval or denial for OSI-approved or FSF Free/Libre licenses
# * both - The license will be approved if it is both OSI-approved *AND* FSF
# * either - The license will be approved if it is either OSI-approved *OR* FSF
# * osi-only - The license will be approved if is OSI-approved *AND NOT* FSF
# * fsf-only - The license will be approved if is FSF *AND NOT* OSI-approved
# * neither - This predicate is ignored and the default lint level is used
allow-osi-fsf-free = "neither"
# Lint level used when no other predicates are matched
# 1. License isn't in the allow or deny lists
# 2. License isn't copyleft
# 3. License isn't OSI/FSF, or allow-osi-fsf-free = "neither"
default = "deny"
# The confidence threshold for detecting a license from license text.
# The higher the value, the more closely the license text must be to the
# canonical license text of a valid SPDX license file.
Expand Down
4 changes: 2 additions & 2 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.1"
version = "0.19.2"
authors = ["yoshidan <[email protected]>"]
edition = "2018"
repository = "https://github.com/yoshidan/google-cloud-rust/tree/main/foundation/gax"
Expand All @@ -12,7 +12,7 @@ description = "Google Cloud Platform gRPC retry library."
[dependencies]
tracing = "0.1"
tokio = { version = "1.32", features = ["macros"] }
tonic = { version = "0.12", features = ["prost", "tls-webpki-roots"] }
tonic = { version = "0.12", default-features = false, features = ["prost", "tls-webpki-roots"] }
thiserror = "1.0"
tower = { version = "0.4", features = ["filter"] }
http = "1.1"
Expand Down
8 changes: 4 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.20.1"
version = "0.21.0"
authors = ["yoshidan <[email protected]>"]
edition = "2021"
repository = "https://github.com/yoshidan/google-cloud-rust/tree/main/foundation/longrunning"
Expand All @@ -10,7 +10,7 @@ readme = "README.md"
description = "Google Cloud Platform longrunning library."

[dependencies]
google-cloud-googleapis = { version = "0.15.0", path = "../../googleapis" }
google-cloud-gax = { version = "0.19.1", path = "../gax" }
tonic = { version = "0.12", features = ["tls", "prost"] }
google-cloud-googleapis = { version = "0.16.0", path = "../../googleapis" }
google-cloud-gax = { version = "0.19.2", path = "../gax" }
tonic = { version = "0.12", default-features = false }
prost = "0.13"
4 changes: 2 additions & 2 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.15.0"
version = "0.16.0"
authors = ["yoshidan <[email protected]>"]
edition = "2021"
repository = "https://github.com/yoshidan/google-cloud-rust/tree/main/googleapis"
Expand All @@ -12,7 +12,7 @@ description = "Google Cloud Platform rust client."
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
tonic = { version = "0.12", features = ["tls", "prost", "gzip"] }
tonic = { version = "0.12", default-features = false, features = ["prost", "codegen", "gzip"] }
prost = "0.13"
prost-types = "0.13"

Expand Down
2 changes: 1 addition & 1 deletion googleapis/googleapis
Submodule googleapis updated 7654 files
Loading

0 comments on commit 497f2d2

Please sign in to comment.