#proxy #sdk #wasm-plugin #extension #version #leaksignal

proxy-sdk

Write extensions for Proxy-WASM for WASM or Native environments

2 stable releases

1.1.0 Sep 13, 2024
1.0.0 Feb 27, 2024

#651 in WebAssembly

Download history 187/week @ 2024-09-13 30/week @ 2024-09-20 24/week @ 2024-09-27 11/week @ 2024-10-04 11/week @ 2024-10-11 9/week @ 2024-10-18 12/week @ 2024-10-25 57/week @ 2024-11-01 40/week @ 2024-11-08 68/week @ 2024-11-15 15/week @ 2024-11-22 66/week @ 2024-11-29

207 downloads per month

Apache-2.0

170KB
4.5K SLoC

Proxy-SDK

A rewrite of the proxy-wasm rust crate. Has improved ergonomics, more type safety, and documentation.

Proxy->WASM Calls Not Implemented

  • validate_configuration: Seems unused
  • on_request_metadata: Unused
  • on_response_metadata: Unused
  • on_grpc_create_initial_metadata: Never called/incompletely defined in proxy-wasm-cpp-host
  • on_foreign_function: Never called from Envoy outside of tests

Feature Flags

  • stream-metadata, if enabled, enables GRPC metadata callbacks. Known to cause crashes in some versions of Envoy.

Dependencies

~2.8–9MB
~92K SLoC