#wick #flow #actor

wick-component

Macros and exports used to create Wick components

6 releases (breaking)

0.17.0 Oct 18, 2023
0.16.0 Sep 14, 2023
0.15.0 Apr 18, 2023
0.14.0 Mar 23, 2023
0.11.0 Mar 14, 2023

#370 in WebAssembly

Download history 29/week @ 2024-06-16 37/week @ 2024-06-23 7/week @ 2024-06-30 9/week @ 2024-07-07 41/week @ 2024-07-14 24/week @ 2024-07-21 27/week @ 2024-07-28 21/week @ 2024-08-04 21/week @ 2024-08-11 15/week @ 2024-08-18 12/week @ 2024-08-25 12/week @ 2024-09-01 16/week @ 2024-09-08 11/week @ 2024-09-15 32/week @ 2024-09-22 35/week @ 2024-09-29

94 downloads per month
Used in 11 crates (2 directly)

Apache-2.0

155KB
4K SLoC

wick-component SDK

This crate provides the wick-component SDK used to build components for the Wick runtime. It is the primary dependency used by the wick-component-codegen generator and re-exports common dependencies for Wick components.

Re-exported dependencies

These are exposed at the root of the crate, i.e. wick_component::packet or wick_component::wasmrs.

  • wick-packet as packet
  • flow-component
  • wasmrs
  • wasmrs-guest
  • wasmrs-runtime
  • wasmrs-codec
  • wasmrs-rx
  • bytes with feature bytes
  • chrono with feature datetime
  • Partial export of serde-json
  • Partial export of tokio-stream

See docs.rs for exact details.

Macros

  • propagate_if_error!

If the passed result is an error, the error propagates to all downstream outputs of a wick component and breaks execution with the provided statement. If the passed result is an Ok, the unwrapped result is returned.

Dependencies

~11–19MB
~271K SLoC