Registry / networking / tokio-proto

tokio-proto

JSON →
library0.1.1rscratesunverified

A network application framework for rapid development of highly scalable clients and servers.

# Cargo.toml [dependencies] tokio-proto = "0.1.1"
INSTALL
IMPORT
SIG · TOKIO-PROTO
T
tokio-proto
networkingrustv0.1.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

TcpServer
use tokio_proto::TcpServer;

Sets up a TCP server using a custom protocol.

use tokio_proto::TcpServer; use tokio_proto::pipeline::ServerProto; // Example requires implementing ServerProto. // let server = TcpServer::new(MyProto, "0.0.0.0:8080".parse().unwrap()); // server.serve(|| Ok(MyService));
Debug
Known issues
breakingThis crate is deprecated in favor of tokio's higher-level abstractions.
fix
Consider using tokio::net::TcpListener directly or tower services.
affects: >=0.1.0
Upgrade
Version history
0.1.1latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
33 hits · last 30 days
node
28
Amazon
1
OpenAI (training)
1
Resources
tokio-proto — cargo add tokio-proto · libregistry