# 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 = "2018" name = "tracking-allocator" version = "0.4.0" description = "global allocator that provides hooks for tracking allocation events" readme = "README.md" keywords = ["allocation", "observability", "memory"] categories = ["development-tools::profiling", "memory-management"] license = "MPL-2.0" repository = "https://github.com/tobz/tracking-allocator" [package.metadata.docs.rs] all-features = true rustdoc-args = ["--cfg", "docsrs"] [[example]] name = "tracing" required-features = ["tracing-compat"] [[bench]] name = "baseline" harness = false [[bench]] name = "overhead" harness = false [[bench]] name = "registry" harness = false [dependencies.tracing] version = "0.1" optional = true default-features = false [dependencies.tracing-subscriber] version = "0.3.7" optional = true default-features = false [dev-dependencies.criterion] version = "0.3.5" features = ["cargo_bench_support", "html_reports"] default-features = false [dev-dependencies.tokio] version = "1.12.0" features = ["rt", "sync"] [dev-dependencies.tracing-subscriber] version = "0.3.7" features = ["registry"] default-features = false [features] default = ["tracing-compat"] tracing-compat = ["tracing", "tracing-subscriber", "tracing-subscriber/std"]