Cargo Features
[dependencies]
axoproject = { version = "0.27.0", default-features = false, features = ["generic-projects", "cargo-projects", "npm-projects"] }
- default = cargo-projects, generic-projects, npm-projects
-
These default features are set whenever
axoproject
is added without
somewhere in the dependency tree.default-features = false - generic-projects default
-
Affects
axoproject::generic
… - cargo-projects default = guppy
-
Affects
axoproject::rust
,axoproject::WorkspaceInfo.cargo_metadata_table
,axoproject::WorkspaceInfo.cargo_profiles
,axoproject::PackageInfo.cargo_metadata_table
,axoproject::PackageInfo.cargo_package_id
,axoproject::PackageInfo.axoupdater_versions
… - npm-projects default = node-semver, oro-common, oro-package-spec
-
Affects
axoproject::javascript
…
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.
- guppy cargo-projects
-
Enables guppy
it would be nice to inherit these features from workspace but you can't optional inherit workspace deps..?
- oro-common npm-projects
- oro-package-spec npm-projects
- node-semver npm-projects