-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
58 lines (52 loc) · 1.91 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
[package]
name = "rcheat"
version = "0.2.0"
edition = "2021"
authors = ["handy-sun <[email protected]>"]
homepage = "https://github.com/handy-sun/rcheat"
repository = "https://github.com/handy-sun/rcheat"
description = "Get/modify variable's value in another Linux running process"
license = "MIT"
readme = "README.md"
keywords = ["ptrace", "elf", "cli", "process", "gdb"]
categories = ["command-line-utilities"]
build = "build.rs"
exclude = [
".githooks/*",
".github/**/*",
".gitignore",
]
[[bin]]
name = "rcheat"
path = "src/main.rs"
[dependencies]
anyhow = "^1.0"
bytes = "^1.7"
goblin = "^0.9"
symbolic-common = "12.11.0"
ansi_term = "0.12.1"
once_cell = "1.19.0"
walkdir = "2.5.0"
symbolic-demangle = { version = "12.11.0", default-features = false, features = ["cpp", "rust"] }
regex = { version = "^1.10", default-features = false, features = ["std", "unicode-perl"]}
clap = { version = "^4.5", default-features = false, features = ["std", "derive", "help", "usage"] }
gimli = { version = "^0.31", features = ["read"] }
object = { version = "^0.36", features = ["read"] }
shadow-rs = { version = "^0.35", default-features = false, features = ["tzdb"] }
mlua = { version = "0.10.1", features = ["lua54", "vendored"] }
tabled = { version = "0.16.0", features = ["ansi"] }
[target.'cfg(unix)'.dependencies]
nix = { version = "0.29.0", default-features = false, features = ["ptrace", "fs"] }
[build-dependencies]
shadow-rs = { version = "^0.35", default-features = false, features = ["tzdb"] }
[package.metadata.generate-rpm]
assets = [
{ source = "target/x86_64-unknown-linux-musl/release/rcheat", dest = "/usr/bin/rcheat", mode = "755" },
{ source = "README.md", dest = "/usr/share/rcheat/doc/README.md", mode = "644" },
]
[package.metadata.deb]
license-file = ["LICENSE", "4"]
extended-description = """\
A simple command to trace another process\
(This program must be run with root privileges)."""
depends = "$auto"