Configuration Reference

The following fields exist and can be configured:

features

  • Type: array of strings
  • Default: none
  • Note: Which features to use.

default-features

rustflags

  • Type: string or array of strings
  • Default: none
  • Note: Extra command-line flags to pass to rustc. The value may be an array of strings or a space-separated string.

wasm-opt

  • Type: boolean
  • Default: true for release web builds
  • Note: Whether or not to use wasm-opt to optimize the web binary.