# 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 = "msgtrans" version = "0.1.6" authors = ["zoujiaqing "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Support for a variety of communication protocols such as TCP / QUIC / WebSocket, easy to create server and client network library." readme = "README.md" keywords = [ "tcp", "udp", "quic", "websocket", "tokio", ] categories = [ "asynchronous", "network-programming", ] license = "Apache-2.0" repository = "https://github.com/zoujiaqing/msgtrans-rust" [lib] name = "msgtrans" path = "src/lib.rs" [[example]] name = "client_quic" path = "examples/client_quic.rs" [[example]] name = "client_tcp" path = "examples/client_tcp.rs" [[example]] name = "client_websocket" path = "examples/client_websocket.rs" [[example]] name = "compression" path = "examples/compression.rs" [[example]] name = "packet" path = "examples/packet.rs" [[example]] name = "server" path = "examples/server.rs" [dependencies.anyhow] version = "1" [dependencies.async-trait] version = "0.1.64" [dependencies.bytes] version = "1.4.0" [dependencies.crossbeam] version = "0.8" [dependencies.flate2] version = "1" [dependencies.futures] version = "0.3.28" [dependencies.s2n-quic] version = "1" [dependencies.tokio] version = "1.32" features = ["full"] [dependencies.tokio-tungstenite] version = "0.19" [dependencies.url] version = "2.4.0" [dependencies.zstd] version = "0.13"