创建了 Rust 版本的 CubeLib 库
This commit is contained in:
32
Windows/Rust/CubeLib/Cargo.toml
Normal file
32
Windows/Rust/CubeLib/Cargo.toml
Normal file
@@ -0,0 +1,32 @@
|
||||
[package]
|
||||
name = "cube_lib"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
description = "CubeLib - Rust library for WebSocket communication and utilities"
|
||||
authors = ["JoyD Team"]
|
||||
|
||||
[dependencies]
|
||||
# WebSocket
|
||||
tokio-tungstenite = { version = "0.21", features = ["tokio-native-tls"] }
|
||||
futures-util = { version = "0.3", default-features = false, features = ["sink", "std", "async-await"] }
|
||||
tokio = { version = "1", features = ["full"] }
|
||||
|
||||
# Serialization
|
||||
serde = { version = "1.0", features = ["derive"] }
|
||||
serde_json = "1.0"
|
||||
|
||||
# Async runtime
|
||||
async-trait = "0.1"
|
||||
|
||||
# Logging
|
||||
tracing = "0.1"
|
||||
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
|
||||
|
||||
# HTTP headers
|
||||
http = "1.0"
|
||||
|
||||
# URL parsing
|
||||
url = "2.4"
|
||||
|
||||
[dev-dependencies]
|
||||
tokio-test = "0.4"
|
||||
Reference in New Issue
Block a user