# 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 = "hala-pprof" version = "0.1.6" description = "Hala performance profiling toolkit" documentation = "https://docs.rs/hala-pprof" license = "MIT" repository = "https://github.com/HalaOS/hala-rs.git" [[bench]] name = "prof_alloc" harness = false [[bench]] name = "sysm_alloc" harness = false [[bench]] name = "log" harness = false [dependencies.backtrace] version = "^0.3" [dependencies.bson] version = "2.9.0" optional = true [dependencies.hala-leveldb] version = "^0.1" optional = true [dependencies.hala-pprof-derive] version = "^0.1" [dependencies.hala-sync] version = "^0.1" [dependencies.log] version = "^0.4" optional = true [dependencies.protobuf] version = "^3.3.0" optional = true [dependencies.serde] version = "^1.0" features = ["derive"] [dev-dependencies.divan] version = "^0.1" [dev-dependencies.pretty_env_logger] version = "^0.5" [dev-dependencies.serde_json] version = "^1.0" [build-dependencies.cc] version = "1.0.83" [build-dependencies.protobuf-codegen] version = "^3.3.0" [build-dependencies.protoc-bin-vendored] version = "^3.0.0" [features] cpu_profiler = [] default = [ "gperf", "prolog", "cpu_profiler", "heap_profiler", ] gperf = ["protobuf"] heap_profiler = [] leveldb = [ "hala-leveldb", "bson", ] prolog = ["log"]