Cargo Features

[dependencies]
axoproject = { version = "0.19.1", default-features = false, features = ["generic-projects", "cargo-projects", "npm-projects"] }
default = cargo-projects, generic-projects

These default features are set whenever axoproject is added without default-features = false somewhere in the dependency tree.

generic-projects default

Affects axoproject::generic, axoproject::Workspaces.generic, axoproject::PackageInfo.build_command

cargo-projects default = guppy

Affects axoproject::rust, axoproject::Workspaces.rust, axoproject::WorkspaceInfo.cargo_metadata_table, axoproject::WorkspaceInfo.cargo_profiles, axoproject::PackageInfo.cargo_metadata_table, axoproject::PackageInfo.cargo_package_id

npm-projects = node-semver, oro-common, oro-package-spec

Affects axoproject::javascript, axoproject::Workspaces.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?