forked from citronneur/rdp-rs
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
76 lines (68 loc) · 1.98 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
76
[package]
name = "rdp-rs"
version = "0.2.0"
authors = ["Sylvain Peyrefitte <[email protected]>"]
description = "A Pure RUST imlementation of Remote Desktop Protocol"
repository = "https://github.com/citronneur/rdp-rs"
readme = "README.md"
keywords = ["rdp", "security", "network", "windows"]
categories = ["network"]
license = "MIT"
documentation = "https://docs.rs/rdp-rs"
edition = "2021"
[lib]
name = "rdp"
path = "src/lib.rs"
[[bin]]
name = "mstsc-rs"
path = "src/bin/mstsc-rs.rs"
required-features = ["mstsc-rs"]
[features]
default = ["openssl"]
# The reason we do this is because doctests don't get cfg(test)
# See: https://github.com/rust-lang/cargo/issues/4669
integration = []
mstsc-rs = ["hex",
"winapi",
"minifb",
"clap",
"libc",
"openssl",
"futures",
"tracing-subscriber"
]
openssl = ["async-native-tls"]
[dependencies]
async-native-tls = { version = "^0.4", optional = true, default-features = false, features = ["runtime-tokio"] }
async-trait = { version = "^0.1" }
byteorder = "^1.3"
bufstream = "0.1"
indexmap = "^1.3"
yasna = { version = "^0.4" }
md4 = "^0.9"
hmac = "^0.11"
md-5 = "^0.9"
rand = "^0.8"
num-bigint = "^0.4"
x509-parser = "^0.12"
num_enum = "^0.5"
tracing = { version = "^0.1", features = ["log"] }
# for mtsc-rs
hex = { version = "^0.4", optional = true }
winapi = { version = "^0.3", features = ["winsock2"], optional = true }
minifb = { version = "^0.15", optional = true }
clap = { version = "^2.33", optional = true}
libc = { version = "^0.2", optional = true}
futures = { version = "0.3", optional = true }
tracing-subscriber = { version = "^0.3", optional = true }
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
tokio = { version = "^1", features = ["full"] }
[target.'cfg(target_arch = "wasm32")'.dependencies]
getrandom = { version = "0.2", features = ["js"] }
tokio = { version = "^1", features = [
"sync",
"macros",
"io-util",
"rt",
"time"
]}