tokio-tungstenite is a Rust library that connects the Tungstenite WebSocket implementation with the Tokio asynchronous runtime. It lets developers build non-blocking WebSocket clients and servers using Tokio’s async networking model. The crate wraps asynchronous TCP streams and upgrades them into WebSocket streams that integrate naturally with Rust futures and async tasks. It is useful for real-time services, streaming applications, chat systems, gateways, backend infrastructure, and any Rust project that needs WebSocket communication without blocking threads. Because it builds on Tungstenite, it inherits a standards-focused WebSocket protocol foundation while adding Tokio compatibility. It is a practical choice for Rust developers who need efficient, event-driven WebSocket networking.

Features

  • Tokio-based WebSocket support
  • Asynchronous client and server workflows
  • Integration with Rust futures
  • Tungstenite protocol foundation
  • Non-blocking TCP stream handling
  • Real-time Rust networking use cases

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow tokio-tungstenite

tokio-tungstenite Web Site

Other Useful Business Software
AI-powered service management for IT and enterprise teams Icon
AI-powered service management for IT and enterprise teams

Enterprise-grade ITSM, for every business

Give your IT, operations, and business teams the ability to deliver exceptional services—without the complexity. Maximize operational efficiency with refreshingly simple, AI-powered Freshservice.
Try it Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of tokio-tungstenite!

Additional Project Details

Programming Language

Rust

Related Categories

Rust WebSocket Libraries

Registered

2 days ago