Skip to content

Use cargo-deny to prevent duplicate dependencies #349

@emilk

Description

@emilk

By running cargo-deny on CI for all supported platforms, we can ensure users of accesskit won't have duplicated dependencies. Reducing duplicated dependencies reduces compile times and binary bloat.

Here's how it is done in winit, for instance:

https://github.com/rust-windowing/winit/blob/4d4d6e5052877d9578bac73f52eaf323e9089998/.github/workflows/ci.yml#L180-L203

and their deny.toml:

https://github.com/rust-windowing/winit/blob/master/deny.toml

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions