@@ -8,7 +8,7 @@ description = "An internal perf tools for rust programs."
88repository = " https://github.com/tikv/pprof-rs"
99documentation = " https://docs.rs/pprof/"
1010readme = " README.md"
11- rust-version = " 1.66 .0" # MSRV
11+ rust-version = " 1.74 .0" # MSRV
1212
1313[features ]
1414default = [" cpp" ]
@@ -19,7 +19,7 @@ frame-pointer = []
1919# A private feature to indicate either prost-codec or protobuf-codec is enabled.
2020_protobuf = []
2121prost-codec = [" prost" , " prost-derive" , " prost-build" , " sha2" , " _protobuf" ]
22- protobuf-codec = [" protobuf" , " protobuf-codegen-pure " , " _protobuf" ]
22+ protobuf-codec = [" protobuf" , " protobuf-codegen" , " _protobuf" ]
2323
2424[dependencies ]
2525backtrace = { version = " 0.3" }
@@ -37,7 +37,7 @@ smallvec = "1.7"
3737inferno = { version = " 0.11" , default-features = false , features = [" nameattr" ], optional = true }
3838prost = { version = " 0.12" , optional = true }
3939prost-derive = { version = " 0.12" , optional = true }
40- protobuf = { version = " 2.0 " , optional = true }
40+ protobuf = { version = " >=3.7.2 " , optional = true }
4141criterion = {version = " 0.5" , optional = true }
4242aligned-vec = " 0.6"
4343
@@ -53,7 +53,7 @@ rand = "0.8.0"
5353[build-dependencies ]
5454prost-build = { version = " 0.12" , optional = true }
5555sha2 = { version = " 0.10" , optional = true }
56- protobuf-codegen-pure = { version = " 2.0 " , optional = true }
56+ protobuf-codegen = { version = " 3.7.2 " , optional = true }
5757
5858[[example ]]
5959name = " flamegraph"
0 commit comments