Skip to content

Commit b5e3f68

Browse files
authored
Merge pull request #540 from main--/work-around-bigquery
Un-blacklist google-bigquery2
2 parents 77b4705 + 77c37f0 commit b5e3f68

File tree

8 files changed

+9222
-7874
lines changed

8 files changed

+9222
-7874
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,7 @@
11
api:
22
no_upload_prefix: JobInsertCall
3+
schemas:
4+
RangeValue:
5+
properties:
6+
end: ~
7+
start: ~

etc/api/shared.yaml

-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ api:
44
# recursive type
55
- analyticsadmin
66
# resursive type
7-
- bigquery
8-
# resursive type
97
- bigtableadmin
108
# redefinition of `Scope`
119
- binaryauthorization

etc/bin/mako-render.py

+2
Original file line numberDiff line numberDiff line change
@@ -372,6 +372,8 @@ def merge(a, b, path=None):
372372
if key in a:
373373
if isinstance(a[key], dict) and isinstance(b[key], dict):
374374
merge(a[key], b[key], path + [str(key)])
375+
elif b[key] is None:
376+
del a[key]
375377
else:
376378
# overwrite leafs unconditionally !
377379
if isinstance(a[key], list) and isinstance(b[key], list):

gen/bigquery2/Cargo.toml

+19-16
Original file line numberDiff line numberDiff line change
@@ -4,34 +4,37 @@
44
[package]
55

66
name = "google-bigquery2"
7-
version = "5.0.3+20240214"
7+
version = "6.0.0+20240616"
88
authors = ["Sebastian Thiel <[email protected]>"]
99
description = "A complete library to interact with Bigquery (protocol v2)"
1010
repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/bigquery2"
1111
homepage = "https://cloud.google.com/bigquery/"
12-
documentation = "https://docs.rs/google-bigquery2/5.0.3+20240214"
12+
documentation = "https://docs.rs/google-bigquery2/6.0.0+20240616"
1313
license = "MIT"
1414
keywords = ["bigquery", "google", "protocol", "web", "api"]
1515
autobins = false
16-
edition = "2018"
16+
edition = "2021"
1717

1818

1919
[dependencies]
20-
anyhow = "^ 1.0"
21-
hyper-rustls = "0.24.0"
22-
mime = "^ 0.3.0"
23-
serde = { version = "^ 1.0", features = ["derive"] }
24-
serde_json = "^ 1.0"
25-
itertools = "^ 0.10"
26-
google-apis-common = { path = "../../google-apis-common", version = "6.0" }
27-
hyper = "^ 0.14"
28-
http = "^0.2"
29-
tokio = "^1.0"
30-
tower-service = "^0.3.1"
31-
url = "= 1.7"
20+
chrono = { version = "0.4", default-features = false, features = ["clock"] }
21+
hyper = "1"
22+
hyper-rustls = { version = "0.27", default-features = false }
23+
hyper-util = "0.1"
24+
mime = "0.3"
25+
serde = { version = "1", features = ["derive"] }
26+
serde_json = "1"
27+
serde_with = "3"
28+
tokio = "1"
29+
url = "2"
30+
utoipa = { version = "4", optional = true }
31+
yup-oauth2 = { version = "12", optional = true }
32+
33+
google-apis-common = { path = "../../google-apis-common", version = "7" }
3234

3335

3436

3537
[features]
36-
yup-oauth2 = ["google-apis-common/yup-oauth2"]
3738
default = ["yup-oauth2"]
39+
utoipa = ["dep:utoipa"]
40+
yup-oauth2 = ["dep:yup-oauth2", "google-apis-common/yup-oauth2"]

gen/bigquery2/LICENSE.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ DO NOT EDIT !
66
The MIT License (MIT)
77
=====================
88

9-
Copyright © `2015-2020` `Sebastian Thiel`
9+
Copyright 2015–2024 Sebastian Thiel
1010

1111
Permission is hereby granted, free of charge, to any person
1212
obtaining a copy of this software and associated documentation

gen/bigquery2/README.md

+74-56
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)