Cargo Features
[dependencies]
prest-build = { version = "0.3.0", default-features = false, features = ["pwa", "sass", "typescript"] }
- default = pwa
-
The
pwa
feature is set by default wheneverprest-build
is added without
somewhere in the dependency tree.default-features = false - pwa default = wasm-bindgen-cli-support, webmanifest
- sass = grass
- typescript = swc_bundler, swc_common, swc_ecma_ast, swc_ecma_codegen, swc_ecma_loader, swc_ecma_minifier, swc_ecma_parser, swc_ecma_transforms_base, swc_ecma_transforms_react, swc_ecma_transforms_typescript, swc_ecma_visit
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.
- webmanifest pwa
- wasm-bindgen-cli-support pwa
- grass sass?
- swc_common typescript?
- swc_bundler typescript?
-
Enables swc_bundler ^6
- swc_ecma_parser typescript?
- swc_ecma_ast typescript?
- swc_ecma_codegen typescript?
- swc_ecma_loader typescript?
- swc_ecma_minifier typescript?
-
Enables swc_ecma_minifier ^6
- swc_ecma_transforms_base typescript?
-
Enables swc_ecma_transforms_base ^6
- swc_ecma_transforms_typescript typescript?
- swc_ecma_transforms_react typescript?
-
Enables swc_ecma_transforms_react ^6
- swc_ecma_visit typescript?