Cargo Features
[dependencies]
ssg = { version = "0.0.32", default-features = false, features = ["async", "cli", "benchmark"] }
-----------------------------------------------------------------------------
Features
-----------------------------------------------------------------------------
- default = async, tokio
-
Optional features that can be enabled or disabled.
No default features enabled - async default = tokio
-
This enables tokio when the async feature is enabled
Affects
ssg::copy_dir_all_async
… - cli
-
Enable command-line interface support
- benchmark
-
Enable benchmark-specific functionality
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.
-----------------------------------------------------------------------------
Dependencies
-----------------------------------------------------------------------------