View Raw Ebuild
# Copyright 2023-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# Auto-Generated by cargo-ebuild 0.5.4-r1
EAPI=8
CRATES="
adler2@2.0.1
aho-corasick@1.1.4
ansi_colours@1.2.3
anstream@0.6.21
anstyle@1.0.13
anstyle-parse@0.2.7
anstyle-query@1.1.5
anstyle-wincon@3.0.11
anyhow@1.0.100
autocfg@1.5.0
base64@0.22.1
bat@0.26.1
bincode@1.3.3
bit-set@0.8.0
bit-vec@0.8.0
bitflags@2.10.0
bstr@1.12.1
bytemuck@1.24.0
bytesize@1.3.3
cargo-subcommand-metadata@0.1.0
cfg-if@1.0.4
clap@4.5.53
clap-cargo@0.18.3
clap_builder@4.5.53
clap_derive@4.5.49
clap_lex@0.7.6
clircle@0.6.1
colorchoice@1.0.4
console@0.16.2
content_inspector@0.2.4
crc32fast@1.5.0
crossbeam-channel@0.5.15
crossbeam-utils@0.8.21
crossterm@0.27.0
crossterm_winapi@0.9.1
darling@0.21.3
darling_core@0.21.3
darling_macro@0.21.3
deranged@0.5.5
either@1.15.0
encode_unicode@1.0.0
encoding_rs@0.8.35
equivalent@1.0.2
errno@0.3.14
fancy-regex@0.16.2
fastrand@2.3.0
flate2@1.1.5
fnv@1.0.7
fs-err@3.2.1
getrandom@0.3.4
globset@0.4.18
grep-cli@0.1.12
hashbrown@0.16.1
heck@0.5.0
home@0.5.12
ident_case@1.0.1
indexmap@2.12.1
is_terminal_polyfill@1.70.2
itertools@0.14.0
itoa@1.0.16
libc@0.2.178
linux-raw-sys@0.11.0
lock_api@0.4.14
log@0.4.29
memchr@2.7.6
miniz_oxide@0.8.9
minus@5.6.1
mio@0.8.11
mio@1.1.1
nu-ansi-term@0.50.3
num-conv@0.1.0
once_cell@1.21.3
once_cell_polyfill@1.70.2
parking_lot@0.12.5
parking_lot_core@0.9.12
path_abs@0.5.1
plist@1.8.0
powerfmt@0.2.0
prettyplease@0.2.37
proc-macro2@1.0.103
quick-xml@0.38.4
quote@1.0.42
r-efi@5.3.0
redox_syscall@0.5.18
regex@1.12.2
regex-automata@0.4.13
regex-syntax@0.8.8
rgb@0.8.52
rustix@1.1.3
ryu@1.0.21
same-file@1.0.6
scopeguard@1.2.0
semver@1.0.27
serde@1.0.228
serde_core@1.0.228
serde_derive@1.0.228
serde_spanned@1.0.4
serde_with@3.16.1
serde_with_macros@3.16.1
serde_yaml@0.9.34+deprecated
shell-words@1.1.1
shlex@1.3.0
signal-hook@0.3.18
signal-hook-mio@0.2.5
signal-hook-registry@1.4.7
simd-adler32@0.3.8
smallvec@1.15.1
std_prelude@0.2.12
strsim@0.11.1
syn@2.0.111
syn-select@0.3.0
syntect@5.3.0
tempfile@3.23.0
termcolor@1.4.1
terminal-colorsaurus@1.0.2
terminal-trx@0.2.6
textwrap@0.16.2
thiserror@1.0.69
thiserror@2.0.17
thiserror-impl@1.0.69
thiserror-impl@2.0.17
time@0.3.44
time-core@0.1.6
time-macros@0.2.24
toml@0.9.10+spec-1.1.0
toml_datetime@0.7.5+spec-1.1.0
toml_parser@1.0.6+spec-1.1.0
toml_writer@1.0.6+spec-1.1.0
toolchain_find@0.4.0
unicode-ident@1.0.22
unicode-segmentation@1.12.0
unicode-width@0.2.2
unsafe-libyaml@0.2.11
utf8parse@0.2.2
walkdir@2.5.0
wasi@0.11.1+wasi-snapshot-preview1
wasip2@1.0.1+wasi-0.2.4
winapi@0.3.9
winapi-i686-pc-windows-gnu@0.4.0
winapi-util@0.1.11
winapi-x86_64-pc-windows-gnu@0.4.0
windows@0.56.0
windows-core@0.56.0
windows-implement@0.56.0
windows-interface@0.56.0
windows-link@0.2.1
windows-result@0.1.2
windows-sys@0.48.0
windows-sys@0.61.2
windows-targets@0.48.5
windows-targets@0.52.6
windows_aarch64_gnullvm@0.48.5
windows_aarch64_gnullvm@0.52.6
windows_aarch64_msvc@0.48.5
windows_aarch64_msvc@0.52.6
windows_i686_gnu@0.48.5
windows_i686_gnu@0.52.6
windows_i686_gnullvm@0.52.6
windows_i686_msvc@0.48.5
windows_i686_msvc@0.52.6
windows_x86_64_gnu@0.48.5
windows_x86_64_gnu@0.52.6
windows_x86_64_gnullvm@0.48.5
windows_x86_64_gnullvm@0.52.6
windows_x86_64_msvc@0.48.5
windows_x86_64_msvc@0.52.6
winnow@0.7.14
wit-bindgen@0.46.0
xterm-color@1.0.1
"
inherit cargo
DESCRIPTION="Subcommand to show the result of macro expansion and #[derive] expansion."
HOMEPAGE="https://github.com/dtolnay/cargo-expand"
SRC_URI="
https://github.com/dtolnay/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz
${CARGO_CRATE_URIS}
"
LICENSE="|| ( Apache-2.0 MIT )"
# Dependent crate licenses
LICENSE+=" Apache-2.0 BSD LGPL-3+ MIT Unicode-3.0"
SLOT="0"
KEYWORDS="~amd64"
RUST_MIN_VER="1.88.0"
# rust does not use *FLAGS from make.conf, silence portage warning
# update with proper path to binaries this crate installs, omit leading /
QA_FLAGS_IGNORED="usr/bin/${PN}"
src_install() {
cargo_src_install
einstalldocs
}