Cargo Features
[dependencies]
prest-build = { version = "0.2.1", 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, swc_atoms, swc_bundler, swc_common, swc_config, swc_ecma_ast, swc_ecma_codegen, swc_ecma_loader, swc_ecma_minifier, swc_ecma_parser, swc_ecma_transforms_base, 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 typescript?
-
Enables swc ^0.270.7
- swc_atoms typescript?
-
Enables swc_atoms ^0.6.5
- swc_bundler typescript?
-
Enables swc_bundler ^0.223.5
- swc_common typescript?
-
Enables swc_common ^0.33.12
- swc_config typescript?
-
Enables swc_config ^0.1.9
- swc_ecma_parser typescript?
-
Enables swc_ecma_parser ^0.141.33
- swc_ecma_ast typescript?
-
Enables swc_ecma_ast ^0.110.15
- swc_ecma_codegen typescript?
-
Enables swc_ecma_codegen ^0.146.47
- swc_ecma_loader typescript?
-
Enables swc_ecma_loader ^0.45.13
- swc_ecma_minifier typescript?
-
Enables swc_ecma_minifier ^0.190.5
- swc_ecma_transforms_base typescript?
- swc_ecma_transforms_typescript typescript?
- swc_ecma_visit typescript?
-
Enables swc_ecma_visit ^0.96.15