File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -25,6 +25,5 @@ simple_logger = "5.0.0"
2525console_log = " 1.0.0"
2626
2727[features ]
28- include-bytes = []
2928zlib = [" dep:flate2" ]
3029brotli = [" dep:brotli" ]
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ build-web:
1515 cargo run --release --features zlib -- courses.json --only-build --force-rebuild
1616 # this next step requires wasm-pack from https://drager.github.io/wasm-pack/installer/
1717 # at time of writing, it can be installed with `curl https://drager.github.io/wasm-pack/installer/init.sh -sSf | bash` (sh doesn't work)
18- wasm-pack build --out-dir target/ wasm --target web --features include-bytes --features zlib
18+ wasm-pack build --out-dir target/ wasm --target web --features zlib
1919
2020# serve a web example of the library to localhost. (make sure build-web has been run)
2121[working-directory : ' target/wasm' ]
You can’t perform that action at this time.
0 commit comments