tokio-transports

Crates.iotokio-transports
lib.rstokio-transports
version0.1.0
sourcesrc
created_at2023-04-03 06:31:07.090894
updated_at2023-04-03 06:31:07.090894
descriptiontokio-transports is used for communication between processes.
homepagehttps://github.com/0x5459/tokio-transports
repositoryhttps://github.com/0x5459/tokio-transports
max_upload_size
id828857
size52,963
0x5459 (0x5459)

documentation

README

tokio-transportss

tokio-transportss provides a series of asynchronous I/O transports for communication between processes, such as pipe, TCP, etc.

Examples

  • pipe_lines_json - Start a child process to communicate with it via a pipe, split messages by line, and use JSON format to serialize and deserialize messages.
  • pipe_length_bincode - Start a child process to communicate with it via a pipe, split messages based on length prefix, and use bincode to serialize and deserialize messages.
  • tcp_lines_json - Communicate based on TCP, split messages by line, and use JSON format to serialize and deserialize messages.

License

Licensed under either of Apache License, Version 2.0 or MIT license at your option.

Commit count: 6

cargo fmt