forked from benfred/py-spy
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
60 lines (54 loc) · 1.65 KB
/
Cargo.toml
File metadata and controls
60 lines (54 loc) · 1.65 KB
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
[features]
default = ["cli"]
cli = ["dep:clap", "dep:clap_complete", "dep:console", "dep:ctrlc", "dep:indicatif", "dep:inferno", "dep:env_logger"]
unwind = ["remoteprocess/unwind"]
[package]
name = "py-spy"
version = "0.4.2"
authors = ["Ben Frederickson <github@benfrederickson.com>"]
repository = "https://github.com/benfred/py-spy"
homepage = "https://github.com/benfred/py-spy"
description = "Sampling profiler for Python programs "
readme = "README.md"
exclude = ["images/*", "test_programs/*"]
license = "MIT"
build = "build.rs"
edition = "2021"
[[bin]]
name = "py-spy"
path = "src/main.rs"
required-features = ["cli"]
[dependencies]
anyhow = "1"
clap = { version = "4.6.1", features = ["wrap_help", "cargo", "derive"], optional = true }
clap_complete = { version = "4.6.1", optional = true }
console = { version = "0.16", optional = true }
ctrlc = { version = "3", optional = true }
indicatif = { version = "0.18", optional = true }
env_logger = { version = "0.11", optional = true }
inferno = { version = "0.12.6", optional = true }
goblin = "0.10.5"
lazy_static = "1.4.0"
libc = "0.2"
log = "0.4"
lru = "0.17"
num-traits = "0.2"
regex = ">=1.6.0"
tempfile = "3.27.0"
page_size = "0.6.0"
proc-maps = "0.4.0"
memmap2 = "0.9.4"
cpp_demangle = "0.5"
serde = { version = "1.0", features = ["rc"] }
serde_derive = "1.0"
serde_json = "1.0"
rand = "0.9"
rand_distr = "0.5"
remoteprocess = "0.5.2"
chrono = "0.4.44"
[dev-dependencies]
py-spy-testdata = "0.1.0"
[target.'cfg(unix)'.dependencies]
termios = "0.3.3"
[target.'cfg(windows)'.dependencies]
winapi = { version = "0.3", features = ["errhandlingapi", "winbase", "consoleapi", "wincon", "handleapi", "timeapi", "processenv"] }