-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathCargo.toml
More file actions
28 lines (23 loc) · 922 Bytes
/
Cargo.toml
File metadata and controls
28 lines (23 loc) · 922 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
[package]
name = "alloc-track"
version = "0.4.0"
edition = "2021"
authors = ["Protryon <max.bruce12@gmail.com>"]
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(target_os = "macos")'.dependencies]
libc = { version = "0.2", optional = true }
[target.'cfg(linux)'.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"]