-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathCargo.toml
24 lines (21 loc) · 826 Bytes
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
[package]
name = "alloc-track"
version = "0.3.1"
edition = "2021"
authors = ["Protryon <[email protected]>"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/Protryon/alloc-track"
description = "Track memory allocations by backtrace or originating thread"
keywords = [ "memory", "alloc", "trace", "segmentation", "leak" ]
[dependencies]
dashmap = "5.3"
lazy_static = "1.4"
backtrace = { version = "0.3", optional = true }
[target.'cfg(unix)'.dependencies]
libc = { version = "0.2", optional = true }
procfs = { version = "0.14", optional = true }
[target.'cfg(windows)'.dependencies]
windows = { version = "0.44.0", features = ["Win32_System_Threading", "Win32_Foundation","Win32_System_Diagnostics_ToolHelp"], optional = true }
[features]
fs = ["procfs", "libc", "windows"]
default = ["backtrace", "fs"]