# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "pprof_server" version = "0.2.0" description = "A simple pprof server in Rust" license = "MIT" repository = "https://github.com/harsssh/pprof-server-rs" [[example]] name = "actix-web" path = "examples/actix-web.rs" required-features = ["actix-web"] [[example]] name = "rocket" path = "examples/rocket.rs" required-features = ["rocket"] [dependencies.actix-web] version = "4.8.0" optional = true [dependencies.axum] version = "0.7.5" optional = true [dependencies.flate2] version = "1.0.30" [dependencies.pprof] version = "0.13.0" features = [ "flamegraph", "protobuf-codec", ] [dependencies.rocket] version = "0.5.1" optional = true [dependencies.serde] version = "1.0.203" features = ["derive"] [dependencies.tokio] version = "1.38.0" features = ["full"] [features] actix-web = ["dep:actix-web"] axum = ["dep:axum"] default = ["actix-web"] rocket = ["dep:rocket"]