build: update protobuf-build to support apple silicon (#2143)

* build: update protobuf-build to support apple silicon

* build: Update src/log-store/Cargo.toml

Co-authored-by: Lei, HUANG <6406592+v0y4g3r@users.noreply.github.com>

* build: update the Cargo.lock too

---------

Co-authored-by: Lei, HUANG <6406592+v0y4g3r@users.noreply.github.com>
Co-authored-by: Ruihang Xia <waynestxia@gmail.com>
This commit is contained in:
谢政
2023-08-12 11:31:51 +08:00
committed by GitHub
parent 6f40128058
commit b62e643e92
2 changed files with 22 additions and 3 deletions

23
Cargo.lock generated
View File

@@ -684,6 +684,15 @@ version = "1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa"
[[package]]
name = "autotools"
version = "0.2.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "aef8da1805e028a172334c3b680f93e71126f2327622faef2ec3d893c0a4ad77"
dependencies = [
"cc",
]
[[package]]
name = "axum"
version = "0.6.19"
@@ -7074,13 +7083,14 @@ dependencies = [
[[package]]
name = "protobuf-build"
version = "0.14.1"
version = "0.15.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2df9942df2981178a930a72d442de47e2f0df18ad68e50a30f816f1848215ad0"
checksum = "c852d9625b912c3e50480cdc701f60f49890b5d7ad46198dd583600f15e7c6ec"
dependencies = [
"bitflags 1.3.2",
"protobuf",
"protobuf-codegen",
"protobuf-src",
"regex",
]
@@ -7093,6 +7103,15 @@ dependencies = [
"protobuf",
]
[[package]]
name = "protobuf-src"
version = "1.1.0+21.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c7ac8852baeb3cc6fb83b93646fb93c0ffe5d14bf138c945ceb4b9948ee0e3c1"
dependencies = [
"autotools",
]
[[package]]
name = "ptr_meta"
version = "0.1.4"

View File

@@ -5,7 +5,7 @@ edition.workspace = true
license.workspace = true
[build-dependencies]
protobuf-build = { version = "0.14", default-features = false, features = [
protobuf-build = { version = "0.15", default-features = false, features = [
"protobuf-codec",
] }