Skip to content

Allow selecting target #283

Open
Open
@jayvdb

Description

It would be very helpful to be able to select the target or targets that I care about, and cargo-unmaintained removes crates which are not used in those targets.

The output for my work monorepo includes

num_cpus (https://github.com/seanmonstar/num_cpus updated 369 days ago)
    hermit-abi (requirement: ^0.3.0, version used: 0.3.9, latest: 0.4.0)

and

wasm-timer (https://github.com/tomaka/wasm-timer updated 1401 days ago)
    parking_lot (requirement: ^0.11, version used: 0.11.2, latest: 0.12.3)
rand_hc (not in https://github.com/rust-random/rand)
atomic-polyfill (https://github.com/embassy-rs/atomic-polyfill archived)

We do use num_cpus, but https://github.com/seanmonstar/num_cpus/blob/master/Cargo.toml states hermit-abi is only used for RustyHermit target, which we dont care about.

And wasm-timer is obviously only a dependency in the wasm target, which we dont care about.
Likewise rand_hc & atomic-polyfill are dependencies indirectly only for a target that we dont care about.

I am interested in working with upstreams to fix the problems highlighted by cargo-unmaintained, but not for arch targets that I am not using.

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions