-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathCargo.toml
More file actions
47 lines (43 loc) · 1.32 KB
/
Copy pathCargo.toml
File metadata and controls
47 lines (43 loc) · 1.32 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
[package]
name = "killmyargv"
version = "0.1.0"
edition = "2021"
build = "build.rs"
categories = ["os"]
description = "as WIP, Ending your life with implementation-defined behavior"
exclude = ["tests/", "testbin/"]
license = "MIT"
keywords = ["args", "argv", "cmdline", "process", "setproctitle"]
readme = "README.md"
repository = "https://github.com/unknowndevQwQ/killmyargv"
[dependencies]
libc = "0.2.169"
log = "0.4.25"
thiserror = "2.0.18"
[dev-dependencies]
sysinfo = { version = "0.38.4", features = ["system"] }
spdlog-rs = { version = "0.5.3", features = ["log"] }
test-binary = "3.0.2"
base64 = "0.22.1"
linereader = "0.4.0"
pause_console = "0.2.0"
reedline = "0.47.0"
clap = { version = "4.6.0", features = ["derive", "error-context", "std"], default-features = false }
shlex = "1.3.0"
[features]
default = ["clobber_environ", "compute_argv", "stack_walking", "replace_argv_element", "replace_environ_element"]
clobber_environ = []
compute_argv = []
stack_walking = []
force_walking = [
"stack_walking"
]
replace_argv_element = []
replace_environ_element = []
# `panic = unwind` cannot retrieve the coredump; to check the coredump after a panic, it must be changed to `abort`.
# However, this affects backtrace.
# see: https://github.com/rust-lang/backtrace-rs/issues/397
[profile.dev]
panic = "abort"
[profile.release]
panic = "abort"