Skip to content

Permission summary includes some packages multiple times #57

Description

@XSpielinbox

Running cargo acl summary --by-permission on cackle itself outputs

[...]
unsafe: allocator-api2, anstream, anstyle, anstyle-parse, anstyle-query, anyhow, bitflags, bitflags, camino, castaway, clap_lex, colored, compact_str, crc32fast, crossterm, deranged, either, errno, flate2, foldhash, foldhash, getrandom, getrandom, gimli, hashbrown, hashbrown, hashbrown, indexmap, is-terminal, itertools, itoa, libc, linux-raw-sys, lock_api, log, lru, memchr, mio, object, once_cell, parking_lot, parking_lot_core, powerfmt, proc-macro2, rustix, ruzstd, ryu, scopeguard, semver, serde_core, serde_json, signal-hook, signal-hook-registry, simd-adler32, smallvec, static_assertions, syn, syn, time, toml_parser, tui-input, twox-hash, unicode-ident, utf8parse, winnow, zmij
[...]

which lists 61 entries, of which 6 are duplicates and indeed cackle.toml only includes 60 allow_unsafe entries.

This is not unique to some permission, see also e.g.

fs[build]: anyhow, camino, proc-macro2, rustix, rustversion, serde, serde_core, thiserror, thiserror

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