Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3b7bf13c authored by Henri Chataing's avatar Henri Chataing
Browse files

system/rust: Update Cargo.toml

- remove unused dependency grpcio
- bump pdl-compiler to 0.3.0
- bump pdl-runtime to 0.3.0
- bump bitflags to 2.5.0

Bug: 331817295
Test: m com.android.btservices
Test: cd system/rust && cargo build
Flag: EXEMPT, build change
Change-Id: I8adeae054f00350c917e353bce00414ab6f138a9
parent 365a0ed8
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -22,7 +22,6 @@ edition = "2018"
cxx = "1.0"
env_logger = "0.8"
futures = "0.3.13"
grpcio = { version = "0.13.0", default-features = false, features = ["protobufv3-codec", "openssl"] }
lazy_static = "1.4"
log = "0.4"
nix = { version = "0.27.1", features = ["time", "user"] }
+1 −0
Original line number Diff line number Diff line
@@ -25,6 +25,7 @@ bt_common = { path = "../common" }
topshim_macros = { path = "macros" }

cxx = "1.0"
grpcio = { version = "0.13.0", default-features = false, features = ["protobufv3-codec", "openssl"] }
lazy_static = "1.4"
log = "0.4"
num-derive = "0.3"
+3 −3
Original line number Diff line number Diff line
@@ -24,20 +24,20 @@ bt_common = { path = "../gd/rust/common", default-features = false }
# External dependencies
# Note: source-of-truth is Android.bp, these are mirrored solely for IDE convenience
anyhow = "1.0"
bitflags = "1.3.2"
bitflags = "2.5.0"
log = "*"
cxx = "*"
android_logger = "*"
jni = "*"
paste = "*"
async-trait = "*"
pdl-runtime = "0.2.2"
pdl-runtime = "0.3.0"
tokio-test = "0.4.2"
tokio = { version = "1.23.0", features = ["macros"] }
scopeguard = "1.1.0"

[build-dependencies]
pdl-compiler = "0.2.2"
pdl-compiler = "0.3.0"

[lib]
crate-type = ["rlib"]