Rewrite conn module
This commit is contained in:
parent
470f3455f7
commit
6916977a47
6 changed files with 328 additions and 335 deletions
13
Cargo.toml
13
Cargo.toml
|
|
@ -4,19 +4,14 @@ version = "0.2.0"
|
|||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
futures-util = { version = "0.3.25", default-features = false, features = ["sink"] }
|
||||
serde = { version = "1.0.149", features = ["derive"] }
|
||||
serde_json = "1.0.89"
|
||||
time = { version = "0.3.17", features = ["serde"] }
|
||||
tokio = { version = "1.23.0", features = ["time", "sync", "macros", "rt"] }
|
||||
|
||||
[dependencies.futures]
|
||||
version = "0.3.25"
|
||||
default-features = false
|
||||
features = ["std"]
|
||||
|
||||
[dependencies.tokio-tungstenite]
|
||||
version = "0.18.0"
|
||||
features = ["rustls-tls-native-roots"]
|
||||
tokio-stream = "0.1.11"
|
||||
tokio-tungstenite = "0.18.0"
|
||||
|
||||
[dev-dependencies] # For example bot
|
||||
tokio = { version = "1.23.0", features = ["rt-multi-thread"] }
|
||||
tokio-tungstenite = { version = "0.18.0", features = ["rustls-tls-native-roots"] }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue