forked from larksuite/perf-monitor-rs
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
41 lines (31 loc) · 1.11 KB
/
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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
[package]
name = "workflow-perf-monitor"
version = "0.0.2"
authors = ["zhangli.pear <[email protected]>"]
edition = "2018"
license-file = "LICENSE"
description = "A toolkit designed to be a foundation for applications to monitor their performance."
repository = "https://github.com/larksuite/perf-monitor-rs"
documentation = "https://docs.rs/perf_monitor/"
categories = ["api-bindings", "accessibility", "development-tools"]
keywords = ["perf", "statistics", "monitor", "performance"]
[features]
allocation_counter = []
darwin_private = []
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
libc = "0.2"
thiserror = "1"
[target.'cfg(target_os = "windows")'.dependencies]
windows-sys = { version = "0.48.0", features = ["Win32_Foundation", "Win32_System_Threading", "Win32_System_ProcessStatus"] }
[target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies]
mach = "0.3"
[build-dependencies]
bindgen = "0.59"
cc = "1.0"
[[bench]]
name = "cpu_ios_macos"
path = "benches/cpu/ios_macos.rs"
harness = false
[dev-dependencies]
criterion = "0.5.1"