document the "release_*" features
This commit is contained in:
parent
77bc8ee8e1
commit
abd65ec04e
|
@ -199,6 +199,14 @@ echo '<script type="module">import init from "./outfly.js"; init()</script>' > w
|
||||||
python -m http.server -d wasm
|
python -m http.server -d wasm
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Building release versions optimized for packaging
|
||||||
|
|
||||||
|
To build release versions optimized for final deployment, build with the following features: (see also [pack.sh](https://codeberg.org/hut/outfly/src/branch/main/src/build/pack.sh))
|
||||||
|
|
||||||
|
```
|
||||||
|
cargo build --release --no-default-features --features release_[linux|windows] [--target=$YOUR_TARGET]
|
||||||
|
```
|
||||||
|
|
||||||
## Dev Features
|
## Dev Features
|
||||||
|
|
||||||
For development, it's recommended to use `--features dev`:
|
For development, it's recommended to use `--features dev`:
|
||||||
|
|
Loading…
Reference in a new issue