forked from HsuJv/vnc-rs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
55 lines (45 loc) · 1.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
[package]
name = "vnc-rs"
version = "0.5.1"
edition = "2021"
authors = ["Jovi Hsu <jv.hsu@outlook.com>", "Petr Beneš <petr.benes@gendigital.com>"]
license = "MIT OR Apache-2.0"
readme = "README.md"
repository = "https://github.com/HsuJv/vnc-rs"
homepage = "https://github.com/HsuJv/vnc-rs"
documentation = "https://docs.rs/vnc-rs"
description = "An async implementation of VNC client side protocol"
keywords = ["vnc"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
name = "vnc"
path = "src/lib.rs"
[dependencies]
#error
thiserror = "^1"
flate2 = "^1"
#log
tracing = { version = "^0.1", features = ["log"] }
# async
async_io_stream = "0.3"
futures = "0.3"
tokio-util = { version = "0.7", features = ["compat"] }
tokio-stream = "0.1"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
tokio = { version = "^1", features = ["full"] }
[target.'cfg(target_arch = "wasm32")'.dependencies]
wasm-bindgen-futures = "0.4"
tokio = { version = "^1", features = [
"sync",
"macros",
"io-util",
"rt",
"time"
]}
[dev-dependencies]
anyhow = "^1"
tracing-subscriber = { version = "^0.3" }
minifb = "0.25.0"
[profile.release]
# Tell `rustc` to optimize for small code size.
opt-level = "s"