https://github.com/efforg/https-everywhere-lib-wasm
A library for HTTPS Everywhere which compiles to WASM
https://github.com/efforg/https-everywhere-lib-wasm
Last synced: 8 months ago
JSON representation
A library for HTTPS Everywhere which compiles to WASM
- Host: GitHub
- URL: https://github.com/efforg/https-everywhere-lib-wasm
- Owner: EFForg
- License: other
- Created: 2019-06-14T02:34:17.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2021-02-03T19:58:30.000Z (over 5 years ago)
- Last Synced: 2025-04-12T22:48:46.533Z (about 1 year ago)
- Language: Rust
- Size: 348 KB
- Stars: 16
- Watchers: 3
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# HTTPS Everywhere WASM Library
[](https://travis-ci.org/efforg/https-everywhere-lib-wasm)
[](https://crates.io/crates/https-everywhere-lib-wasm)
[](https://docs.rs/https-everywhere-lib-wasm)
## Preparing for the build
git submodule update --init --recursive
## Building build environment
docker build -t https-everywhere-lib-wasm .
## Running build environment
docker run -it --rm -v $(pwd):/opt https-everywhere-lib-wasm
## Building library
Run the aforementioned build environment. In that shell:
wasm-pack build -t no-modules
## Testing the library
We [need to](https://github.com/rustwasm/wasm-bindgen/issues/1525) add a special flag before testing in node. This should change some time in the future.
WBINDGEN_I_PROMISE_JS_SYNTAX_WORKS_IN_NODE=1 wasm-pack test --node