Skip to content

Latest commit

 

History

History
46 lines (32 loc) · 601 Bytes

README.md

File metadata and controls

46 lines (32 loc) · 601 Bytes

rust-wasm-4-envoy

rustup toolchain install nightly
rustup target add wasm32-unknown-unknown --toolchain nightly

PropagandaFilter

dev

cargo new --lib propaganda-filter
vi propaganda-filter/Cargo.toml

[lib]
crate-type = ["cdylib"]

[dependencies]
proxy-wasm = "0.1.3"
cd propaganda-filter
sh build.sh

test

docker-compose up --build
curl  -H "token":"323232" 0.0.0.0:18000

Reference

Proxy WASM SDK