# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # Crate list and dependent-crate licenses autogenerated by pycargoebuild 0.16.0 EAPI=8 CRATES=" addr2line@0.25.1 adler2@2.0.1 aho-corasick@1.1.5 allocator-api2@0.2.21 android_system_properties@0.1.6 annotate-snippets@0.12.16 anstream@0.6.21 anstream@1.0.0 anstyle-parse@0.2.7 anstyle-parse@1.0.0 anstyle-query@1.1.5 anstyle-wincon@3.0.11 anstyle@1.0.14 anyhow@1.0.104 arc-swap@1.9.2 arrayvec@0.7.8 assert_cmd@2.2.2 autocfg@1.5.1 backtrace@0.3.76 base16ct@0.2.0 base64@0.22.1 base64ct@1.8.3 better-panic@0.3.0 bitflags@1.3.2 bitflags@2.13.2 bitmaps@2.1.0 blake3@1.8.7 block-buffer@0.10.4 block-buffer@0.12.1 block2@0.6.2 bstr@1.13.1 bumpalo@3.20.3 byteorder@1.5.0 bytes@1.12.1 camino@1.2.6 cargo-credential-libsecret@0.5.10 cargo-credential-macos-keychain@0.4.25 cargo-credential-wincred@0.4.25 cargo-credential@0.4.11 cargo-platform@0.1.9 cargo-platform@0.3.3 cargo-util-schemas@0.13.0 cargo-util@0.2.32 cargo@0.96.0 cargo_metadata@0.19.2 cc@1.8.0 cfg-expr@0.18.0 cfg-if@1.0.5 cfg_aliases@0.2.2 chacha20@0.10.2 clap@4.6.7 clap_builder@4.6.7 clap_complete@4.6.11 clap_lex@1.1.1 clru@0.6.3 color-print-proc-macro@0.3.7 color-print@0.3.7 colorchoice@1.0.5 colored@3.1.1 console@0.15.11 console@0.16.6 const-oid@0.10.2 const-oid@0.9.6 constant_time_eq@0.4.2 core-foundation-sys@0.8.7 core-foundation@0.10.1 core_detect@1.0.0 cpufeatures@0.2.17 cpufeatures@0.3.1 crates-io@0.40.19 crc32fast@1.5.2 crossbeam-channel@0.5.17 crossbeam-deque@0.8.8 crossbeam-epoch@0.9.21 crossbeam-utils@0.8.23 crypto-bigint@0.5.5 crypto-common@0.1.6 crypto-common@0.2.2 ct-codecs@1.1.8 curl-sys@0.4.83+curl-8.15.0 curl@0.4.49 dashmap@6.2.1 defmt-macros@1.1.1 defmt-parser@1.0.0 defmt@0.3.100 defmt@1.1.1 der@0.7.10 deranged@0.5.8 difflib@0.4.0 digest@0.10.7 digest@0.11.3 dispatch2@0.3.1 displaydoc@0.2.7 dunce@1.0.5 ecdsa@0.16.9 ed25519-compact@2.6.0 either@1.19.0 elliptic-curve@0.13.8 encode_unicode@1.0.0 encoding_rs@0.8.42 equivalent@1.0.2 erased-serde@0.4.10 errno@0.3.14 fallible-iterator@0.3.0 fallible-streaming-iterator@0.1.9 faster-hex@0.10.1 fastrand@2.5.0 ff@0.13.1 fiat-crypto@0.3.0 filetime@0.2.29 find-msvc-tools@0.1.14 fixedbitset@0.5.7 flate2@1.1.10 fnv@1.0.7 foldhash@0.1.5 foldhash@0.2.0 foreign-types-shared@0.1.1 foreign-types@0.3.2 form_urlencoded@1.2.2 fs_extra@1.3.0 futures-channel@0.3.34 futures-core@0.3.34 futures-executor@0.3.34 futures-io@0.3.34 futures-macro@0.3.34 futures-sink@0.3.34 futures-task@0.3.34 futures-timer@3.0.4 futures-util@0.3.34 futures@0.3.34 generic-array@0.14.9 getrandom@0.2.17 getrandom@0.3.4 getrandom@0.4.3 gimli@0.32.3 git2-curl@0.21.0 git2@0.20.4 gix-actor@0.39.0 gix-attributes@0.30.1 gix-bitmap@0.2.16 gix-chunk@0.6.0 gix-command@0.7.1 gix-commitgraph@0.33.0 gix-config-value@0.17.2 gix-config@0.52.0 gix-credentials@0.36.0 gix-date@0.14.0 gix-diff@0.59.0 gix-dir@0.21.0 gix-discover@0.47.0 gix-error@0.1.0 gix-features@0.46.2 gix-filter@0.26.0 gix-fs@0.19.2 gix-glob@0.24.0 gix-hash@0.22.1 gix-hashtable@0.12.0 gix-ignore@0.19.1 gix-index@0.47.0 gix-lock@21.0.2 gix-negotiate@0.27.0 gix-object@0.56.0 gix-odb@0.76.0 gix-pack@0.66.0 gix-packetline@0.21.5 gix-path@0.11.3 gix-pathspec@0.15.1 gix-prompt@0.13.1 gix-protocol@0.57.0 gix-quote@0.6.2 gix-ref@0.59.0 gix-refspec@0.37.0 gix-revision@0.41.0 gix-revwalk@0.27.0 gix-sec@0.13.3 gix-shallow@0.8.1 gix-status@0.26.0 gix-submodule@0.26.0 gix-tempfile@21.0.2 gix-trace@0.1.21 gix-transport@0.54.0 gix-traverse@0.53.0 gix-url@0.35.3 gix-utils@0.3.6 gix-validate@0.11.4 gix-worktree@0.48.0 gix@0.79.0 glob@0.3.4 globset@0.4.20 group@0.13.0 hash32@0.3.1 hashbrown@0.14.5 hashbrown@0.15.5 hashbrown@0.16.1 hashbrown@0.17.1 hashlink@0.11.1 heapless@0.8.0 heck@0.5.0 hex@0.4.3 hkdf@0.12.4 hmac@0.12.1 home@0.5.12 http-auth@0.1.10 hybrid-array@0.4.15 icu_collections@2.3.0 icu_locale_core@2.3.0 icu_normalizer@2.3.0 icu_normalizer_data@2.3.0 icu_properties@2.3.0 icu_properties_data@2.3.0 icu_provider@2.3.1 idna@1.1.0 idna_adapter@1.2.2 ignore@0.4.33 im-rc@15.1.0 imara-diff@0.1.8 indexmap@2.14.2 insta@1.49.0 is_executable@1.0.6 is_terminal_polyfill@1.70.2 itertools@0.14.0 itoa@1.0.18 jiff-core@0.1.1 jiff-static@0.2.38 jiff-tzdb-platform@0.1.3 jiff-tzdb@0.1.9 jiff@0.2.38 jobserver@0.1.35 js-sys@0.3.106 krates@0.18.1 kstring@2.0.5 lazy_static@1.5.1 libc@0.2.190 libgit2-sys@0.18.8+1.9.7 libloading@0.9.0 libnghttp2-sys@0.1.13+1.68.1 libsqlite3-sys@0.36.0 libssh2-sys@0.3.3 libz-sys@1.1.29 linux-raw-sys@0.12.1 litemap@0.8.3 lock_api@0.4.14 log@0.4.34 matchers@0.2.0 maybe-async@0.2.11 memchr@2.8.3 memmap2@0.9.11 minimal-lexical@0.2.1 miniz_oxide@0.8.9 miow@0.6.1 multiversion_no_op@1.0.0 nix@0.31.3 nom@7.1.3 normpath@1.5.2 nu-ansi-term@0.50.3 num-conv@0.2.2 num-traits@0.2.19 objc2-cloud-kit@0.3.2 objc2-core-data@0.3.2 objc2-core-foundation@0.3.2 objc2-core-graphics@0.3.2 objc2-core-image@0.3.2 objc2-core-location@0.3.2 objc2-core-text@0.3.2 objc2-encode@4.1.0 objc2-foundation@0.3.2 objc2-io-surface@0.3.2 objc2-quartz-core@0.3.2 objc2-ui-kit@0.3.2 objc2-user-notifications@0.3.2 objc2@0.6.5 object@0.37.3 once_cell@1.21.4 once_cell_polyfill@1.70.2 opener@0.8.5 openssl-macros@0.1.1 openssl-probe@0.1.6 openssl-src@300.6.1+3.6.3 openssl-sys@0.9.117 openssl@0.10.81 ordered-float@2.10.1 orion@0.17.15 os_info@3.15.0 p384@0.13.1 parking_lot@0.12.5 parking_lot_core@0.9.12 pasetors@0.7.8 pathdiff@0.2.3 pem-rfc7468@0.7.0 percent-encoding@2.3.2 petgraph@0.7.1 pico-args@0.5.0 pin-project-lite@0.2.17 pkcs8@0.10.2 pkg-config@0.3.34 portable-atomic-util@0.2.8 portable-atomic@1.15.0 potential_utf@0.1.6 powerfmt@0.2.1 ppv-lite86@0.2.21 predicates-core@1.0.10 predicates-tree@1.0.13 predicates@3.1.4 primeorder@0.13.6 proc-macro2@1.0.107 prodash@31.0.1 quote@1.0.47 r-efi@5.3.0 r-efi@6.0.0 rand@0.10.3 rand@0.9.5 rand_chacha@0.9.0 rand_core@0.10.1 rand_core@0.6.4 rand_core@0.9.5 rand_xoshiro@0.6.0 rayon-core@1.13.0 rayon@1.12.0 redox_syscall@0.5.18 regex-automata@0.4.18 regex-syntax@0.8.11 regex@1.13.1 relative-path@1.9.3 rfc6979@0.4.0 rsqlite-vfs@0.1.1 rstest@0.18.2 rstest_macros@0.18.2 rusqlite@0.38.0 rustc-demangle@0.1.28 rustc-hash@2.1.3 rustc-stable-hash@0.1.2 rustc_version@0.4.1 rustfix@0.9.8 rustix@1.1.5 rustversion@1.0.23 same-file@1.0.6 schannel@0.1.29 scopeguard@1.2.0 sec1@0.7.3 security-framework-sys@2.17.0 security-framework@3.7.0 semver@1.0.28 serde-untagged@0.1.9 serde-value@0.7.0 serde@1.0.229 serde_core@1.0.229 serde_derive@1.0.229 serde_ignored@0.1.14 serde_json@1.0.154 serde_spanned@1.1.2 sha1-checked@0.10.0 sha1@0.10.7 sha2@0.10.9 sha2@0.11.0 sharded-slab@0.1.7 shell-escape@0.1.5 shell-words@1.1.1 shlex@2.0.1 signature@2.2.0 simdutf8@0.1.5 similar@2.7.0 sized-chunks@0.6.5 slab@0.4.12 smallvec@1.16.3 socket2@0.6.5 spki@0.7.3 sqlite-wasm-rs@0.5.5 stable_deref_trait@1.2.1 static_assertions@1.1.0 strsim@0.11.1 strum@0.28.0 strum_macros@0.28.0 subtle@2.6.1 supports-hyperlinks@3.2.0 supports-unicode@3.0.0 syn@2.0.119 syn@3.0.8 synstructure@0.14.0 tar@0.4.46 tempfile@3.27.0 terminal_size@0.4.4 termtree@0.5.1 thiserror-impl@2.0.21 thiserror@2.0.21 thread_local@1.1.10 time-core@0.1.9 time-macros@0.2.32 time@0.3.55 tinystr@0.8.4 tinyvec@1.13.3 toml@0.9.12+spec-1.1.0 toml_datetime@0.7.5+spec-1.1.0 toml_edit@0.24.1+spec-1.1.0 toml_parser@1.1.5+spec-1.1.0 toml_writer@1.1.3+spec-1.1.0 tracing-attributes@0.1.31 tracing-chrome@0.7.2 tracing-core@0.1.36 tracing-log@0.2.0 tracing-subscriber@0.3.23 tracing@0.1.44 typeid@1.0.3 typenum@1.20.1 unicase@2.10.0 unicode-bom@2.0.3 unicode-ident@1.0.27 unicode-normalization@0.1.25 unicode-width@0.2.2 url@2.5.8 utf8_iter@1.0.4 utf8parse@0.2.2 valuable@0.1.1 vcpkg@0.2.15 version_check@0.9.5 wait-timeout@0.2.1 walkdir@2.5.0 wasi@0.11.1+wasi-snapshot-preview1 wasip2@1.0.4+wasi-0.2.12 wasm-bindgen-macro-support@0.2.129 wasm-bindgen-macro@0.2.129 wasm-bindgen-shared@0.2.129 wasm-bindgen@0.2.129 winapi-util@0.1.11 windows-link@0.2.1 windows-sys@0.59.0 windows-sys@0.61.2 windows-targets@0.52.6 windows_aarch64_gnullvm@0.52.6 windows_aarch64_msvc@0.52.6 windows_i686_gnu@0.52.6 windows_i686_gnullvm@0.52.6 windows_i686_msvc@0.52.6 windows_x86_64_gnu@0.52.6 windows_x86_64_gnullvm@0.52.6 windows_x86_64_msvc@0.52.6 winnow@0.7.15 winnow@1.0.4 wit-bindgen@0.57.1 writeable@0.6.4 yoke-derive@0.8.4 yoke@0.8.3 zerocopy-derive@0.8.62 zerocopy@0.8.62 zerofrom-derive@0.1.8 zerofrom@0.1.8 zeroize@1.9.1 zerotrie@0.2.5 zerovec-derive@0.11.6 zerovec@0.11.8 zlib-rs@0.6.8 zmij@1.0.23 " RUST_MIN_VER="1.97.0" inherit cargo DESCRIPTION="Cargo subcommand that counts unsafe code in a crate and its dependencies" HOMEPAGE="https://github.com/geiger-rs/cargo-geiger" # Since 0.14.0 the whole workspace is released under one "geiger-X.Y.Z" tag; # "cargo-geiger-${PV}" does not exist. Rename the archive so the distfile name # carries the package, not the library crate. SRC_URI="https://github.com/geiger-rs/cargo-geiger/archive/refs/tags/geiger-${PV}.tar.gz -> ${P}.tar.gz" SRC_URI+=" ${CARGO_CRATE_URIS}" S="${WORKDIR}/${PN}-geiger-${PV}" LICENSE="|| ( Apache-2.0 MIT )" # Dependent crate licenses LICENSE+=" Apache-2.0 BSD ISC MIT MPL-2.0 MPL-2.0 Unicode-3.0 ZLIB" SLOT="0" KEYWORDS="~amd64" # The .crate files are not mirrored by Gentoo. RESTRICT="mirror" # Rust does not use *FLAGS from make.conf; silence the portage warning. QA_FLAGS_IGNORED="usr/bin/cargo-geiger" src_compile() { cargo_src_compile --manifest-path=cargo-geiger/Cargo.toml } src_install() { cargo_src_install --path cargo-geiger einstalldocs }