From 2b6a61026ac0bc013fa667fa2a3423960cd64963 Mon Sep 17 00:00:00 2001 From: Pekka Enberg Date: Mon, 30 Dec 2024 12:39:51 +0200 Subject: [PATCH] Bump pprof version Dependabot warns about unsound usage in older versions, so bump the version: https://github.com/tursodatabase/libsql/security/dependabot/68 --- Cargo.lock | 34 ++++++++++++++++++++++++++++++++-- libsql/Cargo.toml | 2 +- 2 files changed, 33 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 253771b38d..da179084ef 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -68,6 +68,15 @@ dependencies = [ "memchr", ] +[[package]] +name = "aligned-vec" +version = "0.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7e0966165eaf052580bd70eb1b32cb3d6245774c0104d1b2793e9650bf83b52a" +dependencies = [ + "equator", +] + [[package]] name = "alloc-no-stdlib" version = "2.0.4" @@ -1978,6 +1987,26 @@ dependencies = [ "termcolor", ] +[[package]] +name = "equator" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c35da53b5a021d2484a7cc49b2ac7f2d840f8236a286f84202369bd338d761ea" +dependencies = [ + "equator-macro", +] + +[[package]] +name = "equator-macro" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3bf679796c0322556351f287a51b49e48f7c4986e727b5dd78c972d30e2e16cc" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.70", +] + [[package]] name = "equivalent" version = "1.0.1" @@ -4169,10 +4198,11 @@ checksum = "439ee305def115ba05938db6eb1644ff94165c5ab5e9420d1c1bcedbba909391" [[package]] name = "pprof" -version = "0.12.1" +version = "0.14.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "978385d59daf9269189d052ca8a84c1acfd0715c0599a5d5188d4acc078ca46a" +checksum = "ebbe2f8898beba44815fdc9e5a4ae9c929e21c5dc29b0c774a15555f7f58d6d0" dependencies = [ + "aligned-vec", "backtrace", "cfg-if", "criterion", diff --git a/libsql/Cargo.toml b/libsql/Cargo.toml index 604d4138ab..a744802b10 100644 --- a/libsql/Cargo.toml +++ b/libsql/Cargo.toml @@ -48,7 +48,7 @@ chrono = { version = "0.4", optional = true } [dev-dependencies] criterion = { version = "0.5", features = ["html_reports", "async", "async_futures", "async_tokio"] } -pprof = { version = "0.12.1", features = ["criterion", "flamegraph"] } +pprof = { version = "0.14.0", features = ["criterion", "flamegraph"] } tokio = { version = "1.29.1", features = ["full"] } tokio-test = "0.4" tracing-subscriber = "0.3"