-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
50 lines (44 loc) · 1.36 KB
/
Cargo.toml
File metadata and controls
50 lines (44 loc) · 1.36 KB
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
[package]
name = "rust_socketio"
version = "0.6.0"
authors = ["Bastian Kersting <bastian@cmbt.de>"]
edition = "2021"
description = "An implementation of a socketio client written in rust."
readme = "../README.md"
repository = "https://github.com/1c3t3a/rust-socketio"
keywords = ["socketio", "engineio", "network", "protocol", "client"]
categories = ["network-programming", "web-programming", "web-programming::websocket"]
license = "MIT"
[package.metadata.docs.rs]
all-features = true
[dependencies]
rust_engineio = { version = "0.6.0", path = "../engineio" }
base64 = "0.22.1"
bytes = "1"
backoff = "0.4"
rand = "0.8.5"
adler32 = "1.2.0"
serde_json = "1.0"
thiserror = "1.0"
native-tls = "0.2.14"
url = "2.5.8"
tokio = { version = "1.40.0", optional = true }
futures-util = { version = "0.3", default-features = false, features = ["sink"], optional = true }
async-stream = { version = "0.3.6", optional = true }
log = "0.4.29"
serde = "1.0.228"
[dev-dependencies]
cargo-tarpaulin = "0.18.5"
serial_test = "3.0.0"
[dev-dependencies.tokio]
version = "1.40.0"
# we need the `#[tokio::test]` macro
features = ["macros", "rt-multi-thread"]
[features]
default = []
async-callbacks = ["rust_engineio/async-callbacks"]
async = ["async-callbacks", "rust_engineio/async", "tokio", "futures-util", "async-stream"]
[[example]]
name = "async"
path = "examples/async.rs"
required-features = ["async"]