This repository was archived by the owner on Jun 8, 2023. It is now read-only.
forked from vi/websocat
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
103 lines (89 loc) · 3.07 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
93
94
95
96
97
98
99
100
101
102
103
[package]
name = "websocat"
version = "1.7.0"
authors = ["Vitaly \"_Vi\" Shukela <vi0oss@gmail.com>"]
license = "MIT"
repository = "https://github.com/vi/websocat"
description = "Command-line client for web sockets, like netcat/curl/socat for ws://."
keywords = ["WebSocket", "socat", "rfc6455", "netcat", "cli"]
exclude = ["autorelease.sh","test.sh","test.pkcs12"]
readme = "README.md"
edition = "2018"
#msrv = "1.34.2"
[package.metadata.deb]
section = "utility"
extended-description = """\
A tool allows you to interconnect two specifiers, like in socat, \
but with Websocket and some other additional functions."""
features = ["ssl", "workaround1", "seqpacket", "unix_stdio"]
#depends = "$auto"
depends = "libssl1.1, libc6 (>= 2.19), libgcc1 (>= 1:4.9.0)"
[dependencies]
websocket = { version="0.26.2", default-features = false, features=["async"] }
websocket-base = { version="0.26.2", default-features = false, features=["async"] }
http-bytes = {version = "0.1.0"}
env_logger = { version = "0.6.0", default-features = false }
log = {version="0.4.1", default-features = false, features=["release_max_level_debug"]}
futures = {version = "0.1.17" }
tokio-io = "0.1.5"
tokio-stdin-stdout = "0.1.5"
structopt = { version = "=0.2.16", default-features = false }
structopt-derive = { version = "=0.2.16", default-features = false }
tokio-process = { version = "0.2.3", optional = true }
slab_typesafe = "0.1"
hyper="0.10.13"
url="1.7.1"
openssl-probe = { version = "0.1.2", optional = true }
smart-default = "0.3.0"
tokio-tls = {version = "0.2.0", optional = true}
native-tls = {version = "0.2.1", optional = true}
readwrite = {version = "0.1.1", optional = true, features = ["tokio"]}
derivative="1.0.0"
tokio-codec = "0.1.1"
tokio-tcp = "0.1.2"
tokio-udp = "0.1.3"
tokio-reactor = "0.1.7"
tokio = "0.1.11"
tokio-current-thread = "0.1.4"
tk-listen = "0.2.1"
tokio-timer = "0.2.0"
tempfile = "3.0.8"
net2 = "0.2.33"
anymap = "0.12.1"
base64 = "0.10"
atty = "0.2.14"
#anymap = { path = "/mnt/src/git/anymap"}
# Rust 1.30.1 compat:
#cfg-if="=0.1.9"
#unicode-width="=0.1.5"
#tokio-reactor = "=0.1.9"
#cc="=1.0.41"
[target.'cfg(unix)'.dependencies]
tokio-file-unix = "0.5.1"
tokio-signal = { version = "0.2.7", optional = true }
tokio-uds = "0.2.3"
libc = { version = "0.2", optional = true }
[target.'cfg(windows)'.dependencies]
tokio-named-pipes = {version="0.1.0", optional=true}
[features]
default = ["signal_handler", "tokio-process", "unix_stdio", "windows_named_pipes"]
unix_stdio = []
ssl = ["websocket/async-ssl", "tokio-tls", "native-tls", "readwrite", "openssl-sys"]
signal_handler = ["tokio-signal"]
workaround1=["libc"]
seqpacket=["libc"]
windows_named_pipes=["tokio-named-pipes"]
[target.'arm-linux-androideabi'.dependencies]
openssl-sys = { version="0.9", features=["vendored"], optional=true }
#[patch."crates-io"]
#"tokio-process:0.1.6" = {path="/mnt/src/git/tokio-process"}
#"tokio-core:0.1.17" = {path="/mnt/src/git/tokio-core"}
#"websocket" = {path="/mnt/src/git/rust-websocket"}
[profile.release]
opt-level = "s"
debug = false
rpath = false
lto = true
debug-assertions = false
codegen-units = 1
panic = 'abort'