ruststream 0.7.2

Async messaging framework for Rust: broker-agnostic traits, router, codecs, and a conformance harness for broker authors.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
error[E0277]: `Receipt` does not declare where it is published
  --> tests/ui/reply_without_outgoing.rs:19:36
   |
19 | async fn confirm(order: &Order) -> Receipt {
   |                                    ^^^^^^^ unsatisfied trait bound
   |
help: the trait `ruststream::runtime::ReplyDestination` is not implemented for `Receipt`
  --> tests/ui/reply_without_outgoing.rs:14:1
   |
14 | struct Receipt {
   | ^^^^^^^^^^^^^^
   = note: derive `Outgoing` on the reply type: `#[outgoing(name = "orders.done")]` fixes the destination, and a derive without a name is published where the mount site says (`reply("..")` on the attribute, `.to("..")` on the chain). A name template has no placeholders to bind on the reply path.
note: required by a bound in `ruststream::runtime::reply_destination`
  --> src/runtime/handle/reply.rs
   |
   | pub fn reply_destination<R: ReplyDestination>(default: &'static str) -> ResolvedDest {
   |                             ^^^^^^^^^^^^^^^^ required by this bound in `reply_destination`