-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathCargo.toml
75 lines (61 loc) · 2.1 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
73
74
75
[package]
name = "interactsh-rs"
version = "0.3.0"
edition = "2021"
authors = ["Matt George <[email protected]>"]
license = "MIT OR Apache-2.0"
description = "A Rust client library for working with Interact.sh servers"
readme = "README.md"
repository = "https://github.com/pyroraptor07/interactsh-rs"
keywords = ["interactsh", "oob-interactions"]
[features]
default = ["rustcrypto", "rustls-tls", "async-compat"]
# Crypto features
openssl = ["dep:openssl"]
openssl-vendored = ["openssl", "openssl?/vendored"]
rustcrypto = ["dep:rsa", "dep:aes", "dep:cfb-mode", "dep:sha2"]
# TLS features (new names)
native-tls = ["reqwest/default-tls"]
native-tls-vendored = ["native-tls", "reqwest/native-tls-vendored"]
rustls-tls = ["reqwest/rustls-tls"]
# TLS features (old names, will be removed in a later version)
reqwest-native-tls = ["native-tls"]
reqwest-native-tls-vendored = ["native-tls-vendored"]
reqwest-rustls-tls = ["rustls-tls"]
# Other features
async-compat = ["dep:async-compat"]
nightly = []
[dependencies]
base64 = "0.21.0"
cfg-if = "1"
rand = "0.8.5"
reqwest = { version = "0.11", default-features = false, features = ["json"] }
secrecy = "0.8"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1"
snafu = "0.7.3"
time = { version = "0.3.14", features = ["serde", "formatting", "parsing"] }
uuid = { version = "1", features = ["v4"] }
# RustCrypto dependencies
aes = { version = "0.8.1", optional = true }
cfb-mode = { version = "0.8.2", optional = true }
rsa = { version = "0.8.0", optional = true }
sha2 = { version = "0.10.6", optional = true }
# Native crypto dependencies
openssl = { version = "0.10.41", optional = true }
# Other optional dependencies
async-compat = { version = "0.2", optional = true }
async-trait = "0.1.58"
smallvec = { version = "1.10.0", features = ["serde"] }
[dev-dependencies]
async-compat = "0.2"
tokio = { version = "1", default-features = false, features = ["macros", "rt"] }
async-std = { version = "1", features = ["attributes"] }
smol = "1"
hex = "0.4"
fake = "2.5"
trust-dns-resolver = "0.22"
dotenvy = "0.15"
once_cell = "1.15"
[build-dependencies]
rustversion = "1"