Skip to content

Commit 223d073

Browse files
Bump the rust-dependencies group across 1 directory with 7 updates (#133)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Ben Sully <[email protected]>
1 parent 42c474b commit 223d073

File tree

5 files changed

+781
-779
lines changed

5 files changed

+781
-779
lines changed

CHANGELOG.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
3131
Users who are just using the simple `Field::set_values` method or the various
3232
`IntoField` / `IntoOptField` traits should not be affected.
3333
- Update MSRV to 1.81
34+
- Bump arrow dependency to 56.0
35+
- Bump darling dependency to 0.21.0
3436
- Bump itertools dependency to 0.14.0
3537
- Bump prometheus dependency to 0.14.0
3638
- Bump thiserror dependency to 2.0.11
37-
- Bump tonic, tonic-build and tonic-health dependencies to 0.13.0
39+
- Bump prost, tonic, tonic-build and tonic-health dependencies to 0.14.2; added tonic-prost dependency
3840
- Bump tracing-serde dependency to 0.2.0
3941

4042
## [0.5.0] - 2024-09-17
@@ -52,7 +54,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
5254
- the type of plugin (`PluginType::App` or `PluginType::Datasource`)
5355

5456
The simplest way to do so is to use the `GrafanaPlugin` derive macro exporter from the library's prelude:
55-
57+
5658
```rust
5759
use std::collections::HashMap;
5860

@@ -64,7 +66,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
6466
max_retries: usize,
6567
other_custom_setting: String,
6668
}
67-
69+
6870
#[derive(Debug, GrafanaPlugin)]
6971
#[grafana_plugin(
7072
type = "datasource",

crates/grafana-plugin-sdk-macros/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ description = "Convenience macros for the Grafana backend plugin SDK."
1111
proc-macro = true
1212

1313
[dependencies]
14-
darling = "0.20.3"
14+
darling = "0.21.3"
1515
proc-macro2 = "1.0.60"
1616
quote = "1.0.28"
1717
syn = { version = "2.0.18", features = ["full"] }

crates/grafana-plugin-sdk/Cargo.toml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ repository = "https://github.com/grafana/grafana-plugin-sdk-rust"
99
description = "SDK for building Grafana backend plugins."
1010

1111
[dependencies]
12-
arrow = { version = "55.0.0", default-features = false, features = ["ipc"] }
12+
arrow = { version = "56.2.0", default-features = false, features = ["ipc"] }
1313
cfg-if = "1.0.0"
1414
chrono = "0.4.26"
1515
futures-core = "0.3.28"
@@ -18,7 +18,7 @@ grafana-plugin-sdk-macros = { version = "0.5.0", path = "../grafana-plugin-sdk-m
1818
http = "1.0.0"
1919
itertools = "0.14.0"
2020
num-traits = "0.2.15"
21-
prost = "0.13.2"
21+
prost = "0.14.1"
2222
reqwest_lib = { package = "reqwest", version = "0.12.7", optional = true }
2323
serde = { version = "1.0.164", features = ["derive"] }
2424
serde_json = { version = "1.0.96", features = ["float_roundtrip", "raw_value"] }
@@ -27,8 +27,9 @@ thiserror = "2.0.11"
2727
time = { version = "0.3.22", features = ["formatting", "macros"] }
2828
tokio = { version = "1.28.2", features = ["rt-multi-thread"] }
2929
tokio-stream = { version = "0.1.14", features = ["net"] }
30-
tonic = "0.13.0"
31-
tonic-health = "0.13.0"
30+
tonic = "0.14.2"
31+
tonic-health = "0.14.2"
32+
tonic-prost = "0.14.2"
3233
tracing = "0.1.37"
3334
tracing-core = "0.1.31"
3435
tracing-log = "0.2.0"
@@ -50,8 +51,7 @@ tokio = { version = "1.28.2", features = ["rt-multi-thread"] }
5051
tokio-stream = "0.1.14"
5152

5253
[build-dependencies]
53-
prost-build = { version = "0.13.2", optional = true }
54-
tonic-build = { version = "0.13.0", optional = true }
54+
tonic-prost-build = { version = "0.14.2", optional = true }
5555

5656
# docs.rs-specific configuration
5757
[package.metadata.docs.rs]
@@ -66,4 +66,4 @@ reqwest = ["reqwest_lib"]
6666
# because it requires protoc. The generated code is instead checked in to source
6767
# control. To regenerate code in the case of updated .proto definitions, build
6868
# with this feature enabled.
69-
gen-proto = ["dep:tonic-build", "dep:prost-build"]
69+
gen-proto = ["dep:tonic-prost-build"]

crates/grafana-plugin-sdk/build.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
fn main() -> Result<(), Box<dyn std::error::Error>> {
22
#[cfg(feature = "gen-proto")]
33
{
4-
let mut config = prost_build::Config::new();
4+
let mut config = tonic_prost_build::Config::new();
55
config.bytes([
66
".pluginv2.CallResourceRequest",
77
".pluginv2.CallResourceResponse",
88
".pluginv2.RunStreamRequest",
99
".pluginv2.SubscribeStreamRequest",
1010
]);
11-
Ok(tonic_build::configure()
11+
Ok(tonic_prost_build::configure()
1212
.out_dir("src/pluginv2")
13-
.compile_protos_with_config(
13+
.compile_with_config(
1414
config,
1515
&["./vendor/proto/backend.proto"],
1616
&["./vendor/proto"],

0 commit comments

Comments
 (0)