3 unstable releases

0.1.2-pre0 Aug 23, 2023
0.1.1 Aug 9, 2023
0.0.1 Jun 21, 2023

#1097 in Network programming

42 downloads per month

MIT/Apache

135KB
2K SLoC

carrot-cake

An a-peeling pub/sub framework

Crates.io Docs.rs CI

carrot-cake is TrueLayer's take on an opinionated and flexible RabbitMQ PubSub framework.

Features:

  • Multiple consumers per vhost
  • Concurrent handling
  • Consumer Middlewares
  • Consumer pre-start hooks to set up queues and exchanges
  • Publishers backed by a connection pool
  • Publisher Middlewares

Installation

Add carrot-cake to your dependencies

[dependencies]
# ...
carrot-cake = "0.1.0"

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

See CONTRIBUTING.md.

Dependencies

~13–25MB
~400K SLoC