Skip to content

Commit

Permalink
build(deps): bump http from 0.3 to 1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
olix0r committed Jan 6, 2025
1 parent 749d9ee commit eefd133
Show file tree
Hide file tree
Showing 27 changed files with 1,638 additions and 1,753 deletions.
84 changes: 45 additions & 39 deletions Cargo.lock
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,12 @@ dependencies = [
"syn 1.0.109",
]

[[package]]
name = "atomic-waker"
version = "1.1.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1505bd5d3d116872e7271a6d4e16d81d0c8570876c8de68093a09ac269d8aac0"

[[package]]
name = "autocfg"
version = "1.1.0"
Expand All @@ -36,9 +42,9 @@ checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa"

[[package]]
name = "base64"
version = "0.21.5"
version = "0.22.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "35636a1494ede3b646cc98f74f8e62c773a38a659ebc777a2cf26b9b74171df9"
checksum = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6"

[[package]]
name = "bitflags"
Expand Down Expand Up @@ -144,15 +150,15 @@ dependencies = [

[[package]]
name = "h2"
version = "0.3.26"
version = "0.4.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "81fe527a889e1532da5c525686d96d4c2e74cdd345badf8dfef9f6b39dd5f5e8"
checksum = "ccae279728d634d083c00f6099cb58f01cc99c145b84b8be2f6c74618d79922e"
dependencies = [
"atomic-waker",
"bytes",
"fnv",
"futures-core",
"futures-sink",
"futures-util",
"http",
"indexmap 2.2.3",
"slab",
Expand Down Expand Up @@ -181,9 +187,9 @@ checksum = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8"

[[package]]
name = "http"
version = "0.2.12"
version = "1.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "601cbb57e577e2f5ef5be8e7b83f0f63994f25aa94d673e54a92d5c516d101f1"
checksum = "f16ca2af56261c99fba8bac40a10251ce8188205a4c448fbb745a2e4daa76fea"
dependencies = [
"bytes",
"fnv",
Expand All @@ -192,12 +198,24 @@ dependencies = [

[[package]]
name = "http-body"
version = "0.4.5"
version = "1.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1efedce1fb8e6913f23e0c92de8e62cd5b772a67e7b3946df930a62566c93184"
dependencies = [
"bytes",
"http",
]

[[package]]
name = "http-body-util"
version = "0.1.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d5f38f16d184e36f2408a55281cd658ecbd3ca05cce6d6510a176eca393e26d1"
checksum = "793429d76616a256bcb62c2a2ec2bed781c8307e797e2598c50010f2bee2544f"
dependencies = [
"bytes",
"futures-util",
"http",
"http-body",
"pin-project-lite",
]

Expand Down Expand Up @@ -353,9 +371,9 @@ dependencies = [

[[package]]
name = "pin-project-lite"
version = "0.2.9"
version = "0.2.16"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e0a7ae3ac2f1173085d398531c705756c94a4c56843785df85a60c1a0afac116"
checksum = "3b3cff922bd51709b605d9ead9aa71031d81447142d828eb4a6eba76fe619f9b"

[[package]]
name = "pin-utils"
Expand Down Expand Up @@ -384,21 +402,20 @@ dependencies = [

[[package]]
name = "prost"
version = "0.12.4"
version = "0.13.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d0f5d036824e4761737860779c906171497f6d55681139d8312388f8fe398922"
checksum = "2c0fef6c4230e4ccf618a35c59d7ede15dea37de8427500f50aff708806e42ec"
dependencies = [
"bytes",
"prost-derive",
]

[[package]]
name = "prost-build"
version = "0.12.3"
version = "0.13.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c55e02e35260070b6f716a2423c2ff1c3bb1642ddca6f99e1f26d06268a0e2d2"
checksum = "d0f3e5beed80eb580c68e2c600937ac2c4eedabdfd5ef1e5b7ea4f3fba84497b"
dependencies = [
"bytes",
"heck",
"itertools",
"log",
Expand All @@ -411,14 +428,13 @@ dependencies = [
"regex",
"syn 2.0.87",
"tempfile",
"which",
]

[[package]]
name = "prost-derive"
version = "0.12.4"
version = "0.13.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "19de2de2a00075bf566bee3bd4db014b11587e84184d3f7a791bc17f1a8e9e48"
checksum = "157c5a9d7ea5c2ed2d9fb8f495b64759f7816c7eaea54ba3978f0d63000162e3"
dependencies = [
"anyhow",
"itertools",
Expand All @@ -429,9 +445,9 @@ dependencies = [

[[package]]
name = "prost-types"
version = "0.12.4"
version = "0.13.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3235c33eb02c1f1e212abdbe34c78b264b038fb58ca612664343271e36e55ffe"
checksum = "cc2f1e56baa61e93533aebc21af4d2134b70f66275e0fcdf3cbe43d77ff7e8fc"
dependencies = [
"prost",
]
Expand Down Expand Up @@ -603,9 +619,9 @@ dependencies = [

[[package]]
name = "tokio-stream"
version = "0.1.12"
version = "0.1.17"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8fb52b74f05dbf495a8fba459fdc331812b96aa086d9eb78101fa0d4569c3313"
checksum = "eca58d7bba4a75707817a2c44174253f9236b2d5fbd055602e9d5c07c139a047"
dependencies = [
"futures-core",
"pin-project-lite",
Expand All @@ -628,19 +644,19 @@ dependencies = [

[[package]]
name = "tonic"
version = "0.10.2"
version = "0.12.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d560933a0de61cf715926b9cac824d4c883c2c43142f787595e48280c40a1d0e"
checksum = "877c5b330756d856ffcc4553ab34a5684481ade925ecc54bcd1bf02b1d0d4d52"
dependencies = [
"async-trait",
"base64",
"bytes",
"http",
"http-body",
"http-body-util",
"percent-encoding",
"pin-project",
"prost",
"tokio",
"tokio-stream",
"tower-layer",
"tower-service",
Expand All @@ -649,13 +665,14 @@ dependencies = [

[[package]]
name = "tonic-build"
version = "0.10.2"
version = "0.12.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9d021fc044c18582b9a2408cd0dd05b1596e3ecdb5c4df822bb0183545683889"
checksum = "9557ce109ea773b399c9b9e5dca39294110b74f1f342cb347a80d1fce8c26a11"
dependencies = [
"prettyplease",
"proc-macro2",
"prost-build",
"prost-types",
"quote",
"syn 2.0.87",
]
Expand Down Expand Up @@ -716,17 +733,6 @@ version = "0.11.0+wasi-snapshot-preview1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423"

[[package]]
name = "which"
version = "4.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2441c784c52b289a054b7201fc93253e288f094e2f4be9058343127c4226a269"
dependencies = [
"either",
"libc",
"once_cell",
]

[[package]]
name = "windows-sys"
version = "0.42.0"
Expand Down
12 changes: 6 additions & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,20 +49,20 @@ rustdoc-args = ["--cfg", "docsrs"]
all-features = true

[dependencies]
h2 = { version = "0.3", optional = true }
http = { version = "0.2", optional = true }
h2 = { version = "0.4", optional = true }
http = { version = "1", optional = true }
ipnet = { version = "2", optional = true }
prost = "0.12"
prost-types = { version = "0.12", optional = true }
prost = "0.13"
prost-types = { version = "0.13", optional = true }
quickcheck = { version = "1", default-features = false, optional = true }
thiserror = { version = "2", optional = true }

[dependencies.tonic]
version = "0.10"
version = "0.12"
default-features = false
features = ["prost"]

[dev-dependencies.tonic-build]
version = "0.10"
version = "0.12"
default-features = false
features = ["prost"]
2 changes: 1 addition & 1 deletion examples/gen.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
.build_client(true)
.build_server(true)
.out_dir(out_dir)
.compile(&proto_files, &[proto_dir])
.compile_protos(&proto_files, &[proto_dir])
{
eprintln!("{}", e.to_string().replace("\\n", "\n").trim_end());
std::process::exit(1);
Expand Down
Loading

0 comments on commit eefd133

Please sign in to comment.