While the target configuration for a dependency is included in cargo-metadata's output (e.g. cfg(windows)), it's not all that easy to filter down to the dependencies that are enabled for a given target. It'd be nice if cargo-metadata could optionally perform the target-specific filtering.
While the target configuration for a dependency is included in cargo-metadata's output (e.g.
cfg(windows)), it's not all that easy to filter down to the dependencies that are enabled for a given target. It'd be nice if cargo-metadata could optionally perform the target-specific filtering.