Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

implement WASM plugin #19

Open
wants to merge 35 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
da7f09c
run format; add plugin config
Hexilee Oct 11, 2021
b4986a1
add plugin mod in proxy handler
Hexilee Oct 12, 2021
86cecd2
apply plugins in proxy
Hexilee Oct 12, 2021
30f5628
add wasm plugin example
Hexilee Oct 12, 2021
612bc5b
add unit test for plugin handle_response
Hexilee Oct 13, 2021
6aff733
plugin pass basic test
Hexilee Oct 13, 2021
80c620a
add logger
Hexilee Oct 13, 2021
332423e
logger works
Hexilee Oct 13, 2021
034bf05
add macro register_response_handler and register_request_handler
Hexilee Oct 13, 2021
eaa9037
make macro easier to use
Hexilee Oct 13, 2021
12e2b02
update docs about plugin
Hexilee Oct 13, 2021
f6795e6
precompile plugin
Hexilee Oct 13, 2021
5796832
remove time calculate code in plugin test
Hexilee Oct 13, 2021
085fe9b
change toolchain to nightly
Hexilee Oct 13, 2021
8a9f57a
use json instead of bincode in uds service
Hexilee Oct 14, 2021
58f79e0
fix logs
Hexilee Oct 14, 2021
92520d6
fix dependencies
Hexilee Oct 14, 2021
8cedb11
plugin pass mannel test
Hexilee Oct 14, 2021
5c4d50d
update toolchain in stable test
Hexilee Oct 15, 2021
282f9ff
fix clippy
Hexilee Oct 15, 2021
6b6ddf6
add target wasm32-unknown-unknown in stable test
Hexilee Oct 15, 2021
321b700
fix wrong YAML
Hexilee Oct 15, 2021
cbd58f0
add uds_server in proxy
Hexilee Oct 15, 2021
1d4e58f
merge from master
Hexilee Oct 15, 2021
2a10471
refactor rs-tproxy-proxy
Hexilee Oct 17, 2021
3a11d76
fix lint
Hexilee Oct 17, 2021
b382858
add client for contoller
Hexilee Oct 18, 2021
8ccc511
successfully to cache plugin
Hexilee Oct 19, 2021
51da97d
fix integrations test
Hexilee Oct 19, 2021
7b4bd17
refactor cargo modules style to 2018 edition
Hexilee Oct 19, 2021
1c9458a
update config-examples
Hexilee Oct 19, 2021
560950b
update crates version
Hexilee Oct 19, 2021
347156d
update Carago.lock
Hexilee Oct 19, 2021
48670e0
fix integration test
Hexilee Oct 19, 2021
430029a
merge from master
Hexilee Oct 19, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .github/workflows/stable-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,19 @@ jobs:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
toolchain: nightly-2021-06-01
components: rustfmt, clippy

target: wasm32-unknown-unknown
- uses: actions/setup-python@v2
with:
python-version: '3.7'
architecture: 'x64'
- name: Lint
run: cargo clippy --all-targets -- -D warnings
run: make lint
- name: Build
run: cargo build --all --verbose
- name: Test
run: cargo test --all
run: make build
- name: Unit Test
run: make test
- name: Integration test
run: |
cd ./tests/
Expand Down
Loading