# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "cbsk_socket_tokio" version = "2.0.6" authors = ["The cbsk developers"] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "socket callback tool by tokio" readme = "Readme.md" keywords = [ "tcp", "ws", "websocket", "callback", ] categories = [ "data-structures", "asynchronous", ] license = "MIT/Apache-2.0" repository = "https://github.com/lifeRobot/cbsk/tree/master/libs/cbsk_socket_tokio" [lib] name = "cbsk_socket_tokio" path = "src/lib.rs" [dependencies.cbsk_base] version = "2.0.6" features = [ "tokio_full", "serde_derive_json", "anyhow", "fastdate", "log", ] [dependencies.cbsk_socket] version = "2.0.6" optional = true [dependencies.futures-util] version = "0.3.31" optional = true default-features = false [dependencies.tokio-tungstenite] version = "0.24.0" optional = true [features] debug_mode = [] default = ["tcp_client"] tcp_client = [ "cbsk_base/async-trait", "cbsk_socket/tcp_client", ] tcp_server = [ "cbsk_base/async-trait", "cbsk_socket/tcp_server", ] ws_client = [ "tokio-tungstenite", "futures-util", "cbsk_base/macro", "cbsk_socket/ws_client", ] ws_server = [ "tokio-tungstenite", "futures-util", "cbsk_base/macro", "cbsk_socket/ws_server", ]