Updating Semgrep.yml file - Semgrep is a tool that will be used to scan Cloudflare's public repos for Supply chain, code and secrets. This work is part of Application & Product Security team's initiative.
`cargo release` does not actually commit changes, so amending the commit was not necessary and instead applied to the last commit from `main`, which broke history.
* http 1.1
* http feature flag
* Fetcher http flag
* Implement todos
* Implement redirect / ws / abort signal
* Add http tests to CI
* Add Cf context to http::Request
* Fix test working directories
* Axum example
* fix clippy in CI
* Handle generic http_body return type
* Documentation
* Remove unwraps
* Tweak introduction version in docs
* Final touches
With the addition of integration testing for websockets we
unintentionally introduced a warning where some functions declared in
the integration test's util module were unused. This is because all
integration tests are compiled as seperate binaries so for the websocket
binary functions weren't used for that specific compile job.
This also adjust flags in the CI to catch warnings like this in the
future.
* fix: uninitialized wasm imports
Previously we generated a "export_wasm.mjs" that imported all of the
glue generated by wasm bindgen and modified the glue to import from the
generated file. This caused a circular import leading to some functions,
specifically ones that were just const aliases of builtins, generated by
wasm-bindgen to be uninitialized and cause a crash.
To fix this we move all of the code in the "export_wasm.mjs" to that
glue file.
* chore: add test to ensure all imports are found
Adds a unit test in worker-build that ensures that all wasm imports in a
binary compiled from bindgen-test-subject are found in the generated JS.
This is to give us a way to make sure our naive method of finding generated
exports works even if wasm-bindgen makes a breaking change.
* chore: add worker-build test to ci