channel-protocol

Crates.iochannel-protocol
lib.rschannel-protocol
version0.3.0
created_at2025-11-03 01:03:45.856978+00
updated_at2025-11-12 15:40:49.967992+00
descriptionEnable function-based communication instead of enum message sending. All based on channels.
homepagehttps://github.com/sub07/channel-protocol
repositoryhttps://github.com/sub07/channel-protocol
max_upload_size
id1913754
size86,643
(sub07)

documentation

https://docs.rs/channel-protocol

README

Channel Protocol

crates.io

What is it ?

A procedural macro to generate channel protocol clients.

You can use function oriented communication between threads instead of communicating by sending messages through channels.

This is an abstraction over channels that makes inter-thread communication easier to use and read.

Features

  • std sync channel
  • async channel (contribution are welcomed)

Example

Check the examples folder for examples.

Commit count: 0

cargo fmt