Cargo Workspace and the Feature Unification Pitfall

from blog nickb.dev, | ↗ original
In Rust, workspaces help organize a project into smaller packages. The downside is if there are shared dependencies that list different features, then one will most likely see unexpected behavior when compiling a binary from the workspace level. This post shows an example of when this can occur and what solutions exist. For me, workspaces have...