Skip to content

Commit

Permalink
Update non-breaking dependencies (#196)
Browse files Browse the repository at this point in the history
* chore: bump non-breaking dependencies

* lint: appease Clippy
  • Loading branch information
fosskers authored Sep 29, 2023
1 parent 3c9b1ec commit 323d3bd
Show file tree
Hide file tree
Showing 9 changed files with 25 additions and 26 deletions.
8 changes: 4 additions & 4 deletions bigquery/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ tracing = "0.1"
reqwest = { version = "0.11", features = ["json", "stream", "multipart"], default-features = false }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
tokio = { version="1.20", features=["macros"] }
tokio = { version="1.32", features=["macros"] }
time = { version = "0.3", features = ["std", "macros", "formatting", "parsing", "serde"] }
arrow = { version="44.0", default-features = false, features = ["ipc"] }
base64 = "0.21"
Expand All @@ -31,10 +31,10 @@ backon = "0.4"
google-cloud-auth = { optional = true, version = "0.12", path="../foundation/auth", default-features=false }

[dev-dependencies]
tokio = { version="1.20", features=["rt-multi-thread"] }
tokio = { version="1.32", features=["rt-multi-thread"] }
serial_test = "0.9"
tracing-subscriber = "0.3.11"
ctor = "0.1.22"
tracing-subscriber = "0.3.17"
ctor = "0.1.26"
tokio-util = {version ="0.7", features = ["codec"] }
google-cloud-auth = { path = "../foundation/auth", default-features=false }
base64-serde = "0.7"
Expand Down
4 changes: 2 additions & 2 deletions foundation/auth/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ thiserror = "1.0"
async-trait = "0.1"
home = "0.5"
urlencoding = "2.1"
tokio = { version = "1.20", features = ["fs"]}
tokio = { version = "1.32", features = ["fs"]}
google-cloud-metadata = { version = "0.3.2", path = "../metadata" }
google-cloud-token = { version = "0.1.1", path = "../token" }
base64 = "0.21"
Expand All @@ -33,7 +33,7 @@ hmac = { version = "0.12", optional = true }
hex = { version = "0.4", optional = true }

[dev-dependencies]
tokio = { version = "1.20", features = ["test-util", "rt-multi-thread", "macros"]}
tokio = { version = "1.32", features = ["test-util", "rt-multi-thread", "macros"]}
tracing-subscriber = {version="0.3", features=["env-filter","std"]}
ctor = "0.1"
serial_test = "0.9"
Expand Down
2 changes: 1 addition & 1 deletion foundation/gax/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ description = "Google Cloud Platform gRPC retry library."

[dependencies]
tracing = "0.1"
tokio = { version = "1.20", features = ["macros"] }
tokio = { version = "1.32", features = ["macros"] }
tonic = { version = "0.9", features = ["prost", "tls-webpki-roots"] }
thiserror = "1.0"
tower = { version = "0.4", features = ["filter"] }
Expand Down
4 changes: 2 additions & 2 deletions foundation/metadata/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ readme = "README.md"
description = "Google Cloud Platform rust client."

[dependencies]
tokio = { version = "1.20", features = ["sync", "net", "parking_lot"] }
tokio = { version = "1.32", features = ["sync", "net", "parking_lot"] }
# this crate uses http only
reqwest = { version = "0.11" , default-features = false }
thiserror = "1.0"

[dev-dependencies]
tokio = { version = "1.20", features = ["test-util", "rt-multi-thread", "macros"]}
tokio = { version = "1.32", features = ["test-util", "rt-multi-thread", "macros"]}


10 changes: 5 additions & 5 deletions pubsub/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ documentation = "https://docs.rs/google-cloud-pubsub/latest/google_cloud_pubsub/
[dependencies]
tracing = "0.1"
prost-types = "0.11"
tokio = "1.20"
async-channel = "1.6"
tokio = "1.32"
async-channel = "1.9"
async-stream = "0.3"
thiserror = "1.0"
tokio-util = "0.7"
Expand All @@ -26,12 +26,12 @@ google-cloud-googleapis = { version = "0.11.0", path = "../googleapis", features
google-cloud-auth = { optional = true, version = "0.12", path="../foundation/auth", default-features=false }

[dev-dependencies]
tokio = { version="1.20", features=["rt-multi-thread"] }
tokio = { version="1.32", features=["rt-multi-thread"] }
rand = "0.8.5"
tracing-subscriber = "0.3"
serial_test = "0.9"
uuid = { version="1.1", features=["v4"] }
ctor = "0.1.21"
uuid = { version="1.4", features=["v4"] }
ctor = "0.1.26"
futures-util = "0.3"

[features]
Expand Down
2 changes: 1 addition & 1 deletion spanner-derive/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ convert_case = "0.6"
[dev-dependencies]
google-cloud-spanner = { path = "../spanner"}
time = { version = "0.3", features = ["serde"] }
tokio = { version="1.20", features=["rt-multi-thread"] }
tokio = { version="1.32", features=["rt-multi-thread"] }
serial_test = "0.9"
serde = "1.0"
serde_json = "1.0"
4 changes: 2 additions & 2 deletions spanner/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ documentation = "https://docs.rs/google-cloud-spanner/latest/google_cloud_spanne
[dependencies]
tracing = "0.1"
prost-types = "0.11"
tokio = "1.20"
tokio = "1.32"
time = { version="0.3", features = ["std", "macros", "formatting", "parsing"] }
thiserror = "1.0"
async-trait = "0.1"
Expand All @@ -31,7 +31,7 @@ google-cloud-googleapis = { version = "0.11.0", path = "../googleapis", features
google-cloud-auth = { optional = true, version = "0.12", path="../foundation/auth", default-features=false }

[dev-dependencies]
tokio = { version="1.20", features=["rt-multi-thread"] }
tokio = { version="1.32", features=["rt-multi-thread"] }
tracing-subscriber = { version="0.3", features=["env-filter"] }
serial_test = "0.9"
ctor = "0.1"
Expand Down
14 changes: 7 additions & 7 deletions storage/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ rsa = "0.6"
thiserror = "1.0"
time = { version = "0.3", features = ["std", "macros", "formatting", "parsing", "serde"] }
base64 = "0.21"
regex = "1.6"
regex = "1.9"
sha2 = "0.10"
ring = "0.16"
tokio = { version="1.20", features=["macros"] }
tokio = { version="1.32", features=["macros"] }
async-stream = "0.3"
once_cell = "1.13"
once_cell = "1.18"
hex = "0.4"
url = "2.4"
tracing = "0.1"
Expand All @@ -30,16 +30,16 @@ serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
percent-encoding = "2.3"
futures-util = "0.3"
bytes = "1.2"
bytes = "1.5"

google-cloud-metadata = { optional = true, version = "0.3", path = "../foundation/metadata" }
google-cloud-auth = { optional = true, version = "0.12", path="../foundation/auth", default-features=false }

[dev-dependencies]
tokio = { version="1.20", features=["rt-multi-thread"] }
tokio = { version="1.32", features=["rt-multi-thread"] }
serial_test = "0.9"
tracing-subscriber = "0.3.11"
ctor = "0.1.22"
tracing-subscriber = "0.3.17"
ctor = "0.1.26"
tokio-util = {version ="0.7", features = ["codec"] }
google-cloud-auth = { path = "../foundation/auth", default-features=false }

Expand Down
3 changes: 1 addition & 2 deletions storage/src/http/storage_client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1969,10 +1969,9 @@ mod test {

// let stream= reqwest::Client::default().get("https://avatars.githubusercontent.com/u/958174?s=96&v=4").send().await.unwrap().bytes_stream();
let source = vec!["hello", " ", "world"];
let size: u64 = source.iter().map(|x| x.len() as u64).sum();
let chunks: Vec<Result<_, ::std::io::Error>> = source.clone().into_iter().map(Ok).collect();
let stream = futures_util::stream::iter(chunks);
let mut media = Media::new(file_name);
let media = Media::new(file_name);
let upload_type = UploadType::Simple(media);
let uploaded = client
.upload_streamed_object(
Expand Down

0 comments on commit 323d3bd

Please sign in to comment.