Skip to content

Commit 1a95902

Browse files
committed
chore(deps): update prost dependencies to v0.12
Signed-off-by: koushiro <[email protected]>
1 parent bf196d7 commit 1a95902

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

Cargo.toml

+4-4
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,14 @@ dtoa = "1.0"
2222
itoa = "1.0"
2323
parking_lot = "0.12"
2424
prometheus-client-derive-encode = { version = "0.4.1", path = "derive-encode" }
25-
prost = { version = "0.11.0", optional = true }
26-
prost-types = { version = "0.11.0", optional = true }
25+
prost = { version = "0.12.0", optional = true }
26+
prost-types = { version = "0.12.0", optional = true }
2727

2828
[dev-dependencies]
2929
async-std = { version = "1", features = ["attributes"] }
3030
criterion = "0.5"
3131
http-types = "2"
32-
pyo3 = "0.20"
32+
pyo3 = "0.21"
3333
quickcheck = "1"
3434
rand = "0.8.4"
3535
tide = "0.16"
@@ -40,7 +40,7 @@ hyper-util = { version = "0.1.3", features = ["tokio"] }
4040
http-body-util = "0.1.1"
4141

4242
[build-dependencies]
43-
prost-build = { version = "0.11.0", optional = true }
43+
prost-build = { version = "0.12.0", optional = true }
4444

4545
[[bench]]
4646
name = "baseline"

src/encoding/text.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -920,7 +920,7 @@ mod tests {
920920

921921
println!("{:?}", input);
922922
Python::with_gil(|py| {
923-
let parser = PyModule::from_code(
923+
let parser = PyModule::from_code_bound(
924924
py,
925925
r#"
926926
from prometheus_client.openmetrics.parser import text_string_to_metric_families

0 commit comments

Comments
 (0)