#rpc #async #microservices #api #networking

canary

provides ergonomic abstractions for network communication and more

16 unstable releases (3 breaking)

0.3.3 Jul 23, 2022
0.3.2 Jun 2, 2022
0.2.5 May 18, 2022
0.2.4 Mar 24, 2022
0.0.6 Dec 29, 2021

#2221 in Parser implementations


Used in 4 crates

MIT license

130KB
3K SLoC

Canary

Canary is a distributed systems library for making communications through the network easier.

Canary logo

Canary is a distributed systems and communications framework, focusing on minimalism, ease of use and performance.

Please make sure that you use Serialize and Deserialize from Canary, since custom implementations will be made to improve efficiency and wire cost.

Book

Notable features of Canary:

  • Seamless encryption
  • Wasm support
  • Composable

Contribute

If you'd like to contribute to the project, please tell us at the discord, in which we'll teach you about how the code is organized, and how you can contribute.

Projects that use Canary

Does your project use Canary? Don't be afraid to list it here!


lib.rs:

Canary

Canary is a library for making communication through the network easy. It abstracts over network primitives such as streams and provides constructs that are easier to use such as Channel.

The main constructs offered by Canary are:

  • Channels
  • Providers

Channels help communicate through the network, and providers help create endpoints through which you can get Channels.

The crate is well-documented, but if you need any examples you should use the book, and additional questions should be asked in the discord

Dependencies

~5–18MB
~263K SLoC