-
-
Notifications
You must be signed in to change notification settings - Fork 7
/
Cargo.toml
72 lines (59 loc) · 1.72 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
[package]
name = "boxxy"
version = "0.13.1"
description = "Linkable sandbox explorer"
authors = ["kpcyrd <[email protected]>"]
license = "LGPL-3.0"
repository = "https://github.com/kpcyrd/boxxy-rs"
categories = ["command-line-interface", "development-tools::debugging"]
readme = "README.md"
edition = "2021"
[lib]
crate-type = ["lib", "cdylib", "staticlib"]
[badges]
travis-ci = { repository = "kpcyrd/boxxy-rs" }
[workspace]
members = ["autoboxxy", "lambdash"]
[features]
default = ["readline"]
full = ["readline", "network", "archives"]
readline = ["rustyline"]
network = ["reqwest", "tokio", "futures-util",
"rustls", "sha2"]
archives = ["tar", "libflate"]
[dependencies]
log = "0.4"
clap = { version = "3", default-features = false, features=["std", "derive"] }
libc = "0.2"
errno = "0.2"
regex = "1.0"
nix = "0.24"
base64 = "0.13"
anyhow = "1"
bufstream = "0.1"
cfg-if = "1"
# disk: tar
tar = { version = "0.4", optional = true }
libflate = { version = "1", optional = true }
# network: revshell
rustls = { version = "0.20", features = ["dangerous_configuration"], optional = true }
sha2 = { version = "0.10", optional = true }
# network: curl
reqwest = { version = "0.11", default-features=false, features=["stream", "rustls-tls-webpki-roots"], optional = true }
tokio = { version = "1", features=["fs", "macros"], optional = true }
futures-util = { version = "0.3.12", optional = true }
# readline
rustyline = { version = "10", optional = true }
[target.'cfg(unix)'.dependencies]
close_fds = "0.3.2"
[target.'cfg(target_os="linux")'.dependencies]
caps = "0.5"
[target.'cfg(target_os="openbsd")'.dependencies]
pledge = "0.4"
[dev-dependencies]
env_logger = "0.9"
elf = "0.7.0"
ctrlc = "3.1.0"
rustls = "0.20"
sha2 = "0.10"
pem = "1.0.1"