-
Notifications
You must be signed in to change notification settings - Fork 3
/
Cargo.toml
24 lines (20 loc) · 947 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 = "memory-stats"
authors = ["Arc-blroth <[email protected]>"]
license = "MIT OR Apache-2.0"
version = "1.2.0"
edition = "2021"
description = "A cross-platform memory profiler for Rust."
repository = "https://github.com/Arc-blroth/memory-stats"
readme = "README.md"
categories = ["development-tools::profiling"]
keywords = ["memory", "performance", "profiling"]
[dependencies]
serde = { version = "1.0", optional = true, features = ["derive"] }
[target.'cfg(target_os = "windows")'.dependencies]
windows-sys = { version = "0.52", features = ["Win32_Foundation", "Win32_System", "Win32_System_ProcessStatus", "Win32_System_Threading"] }
[target.'cfg(any(target_os = "linux", target_os = "android", target_os = "macos", target_os = "ios", target_os = "freebsd"))'.dependencies]
libc = "0.2"
[features]
# Always use the faster but less accurate /proc/self/statm statistics on Linux.
always_use_statm = []