#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

#659 in WebAssembly

Download history 162/week @ 2024-09-11 48/week @ 2024-09-18 17/week @ 2024-09-25 22/week @ 2024-10-02 8/week @ 2024-10-09 10/week @ 2024-10-16 7/week @ 2024-10-23 48/week @ 2024-10-30 57/week @ 2024-11-06 49/week @ 2024-11-13 35/week @ 2024-11-20 24/week @ 2024-11-27 51/week @ 2024-12-04 35/week @ 2024-12-11 6/week @ 2024-12-18

104 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
~94K SLoC