-
Notifications
You must be signed in to change notification settings - Fork 52
/
Cargo.toml
92 lines (80 loc) · 2.24 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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
[package]
name = "ironrdp-web"
version = "0.1.0"
readme = "README.md"
description = "WebAssembly high-level bindings targeting web browsers"
publish = false
edition.workspace = true
license.workspace = true
homepage.workspace = true
repository.workspace = true
authors.workspace = true
keywords.workspace = true
categories.workspace = true
[lib]
doctest = false
test = false
crate-type = ["cdylib", "rlib"]
[features]
default = ["panic_hook"]
panic_hook = ["dep:console_error_panic_hook"]
[dependencies]
# Protocols
ironrdp = { workspace = true, features = [
"connector",
"session",
"input",
"graphics",
"dvc",
"cliprdr",
"svc",
"displaycontrol"
] }
ironrdp-core.workspace = true
ironrdp-cliprdr-format = { workspace = true }
ironrdp-futures.workspace = true
ironrdp-rdcleanpath.workspace = true
# WASM
wasm-bindgen = "0.2"
wasm-bindgen-futures = "0.4"
web-sys = { version = "0.3", features = ["HtmlCanvasElement"] }
js-sys = "0.3"
gloo-net = { version = "0.6", default-features = false, features = [
"websocket",
"http",
"io-util",
] }
gloo-timers = { version = "0.3", default-features = false, features = [
"futures",
] }
tracing-web = "0.1"
# Rendering
softbuffer = { version = "0.4", default-features = false }
png = "0.17"
resize = { version = "0.8", features = ["std"], default-features = false }
rgb = "0.8"
# Enable WebAssembly support for a few crates
getrandom = { version = "0.2", features = ["js"] }
chrono = { version = "0.4", features = ["wasmbind"] }
time = { version = "0.3", features = ["wasm-bindgen"] }
# The `console_error_panic_hook` crate provides better debugging of panics by
# logging them with `console.error`. This is great for development, but requires
# all the `std::fmt` and `std::panicking` infrastructure, so isn't great for
# code size when deploying.
console_error_panic_hook = { version = "0.1", optional = true }
# Async
futures-util = { version = "0.3", features = ["sink", "io"] }
futures-channel = "0.3"
# Logging
tracing.workspace = true
tracing-subscriber = { version = "0.3", features = ["time"] }
# Utils
anyhow = "1"
smallvec = "1.13"
x509-cert = { version = "0.2", default-features = false, features = ["std"] }
tap = "1"
semver = "1"
url = "2.5"
base64 = "0.22"
[lints]
workspace = true