# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

# Autogenerated by pycargoebuild 0.14.0

EAPI=8

CRATES="
	addr2line@0.24.2
	adler2@2.0.0
	aho-corasick@1.1.3
	anstream@0.6.18
	anstyle-parse@0.2.6
	anstyle-query@1.1.2
	anstyle-wincon@3.0.7
	anstyle@1.0.10
	async-trait@0.1.88
	autocfg@1.4.0
	backtrace-ext@0.2.1
	backtrace@0.3.74
	bitflags@1.3.2
	bitflags@2.9.0
	bytes@1.10.1
	cfg-if@1.0.0
	cfg_aliases@0.2.1
	clap@4.5.34
	clap_builder@4.5.34
	clap_complete@4.5.47
	clap_derive@4.5.32
	clap_lex@0.7.4
	colorchoice@1.0.3
	crossbeam-channel@0.5.14
	crossbeam-deque@0.8.6
	crossbeam-epoch@0.9.18
	crossbeam-utils@0.8.21
	ctrlc@3.4.5
	dirs-sys@0.4.1
	dirs@5.0.1
	either@1.15.0
	equivalent@1.0.2
	errno@0.3.10
	fastrand@2.3.0
	filetime@0.2.25
	futures-core@0.3.31
	futures-task@0.3.31
	futures-util@0.3.31
	getrandom@0.2.15
	getrandom@0.3.2
	gimli@0.31.1
	hashbrown@0.15.2
	heck@0.5.0
	indexmap@2.8.0
	inlet_manifold@0.1.4
	inotify-sys@0.1.5
	inotify@0.9.6
	is_ci@1.2.0
	is_terminal_polyfill@1.70.1
	itoa@1.0.15
	kqueue-sys@1.0.4
	kqueue@1.0.8
	libc@0.2.171
	libredox@0.1.3
	linemux@0.3.0
	linux-raw-sys@0.9.3
	lock_api@0.4.12
	log@0.4.27
	memchr@2.7.4
	miette-derive@7.5.0
	miette@7.5.0
	miniz_oxide@0.8.5
	mio@0.8.11
	mio@1.0.3
	nix@0.29.0
	notify@5.2.0
	nu-ansi-term@0.50.1
	object@0.36.7
	once_cell@1.21.2
	option-ext@0.2.0
	owo-colors@4.2.0
	parking_lot@0.12.3
	parking_lot_core@0.9.10
	pin-project-lite@0.2.16
	pin-utils@0.1.0
	ppv-lite86@0.2.21
	proc-macro2@1.0.94
	quote@1.0.40
	r-efi@5.2.0
	rand@0.9.0
	rand_chacha@0.9.0
	rand_core@0.9.3
	rayon-core@1.12.1
	rayon@1.10.0
	redox_syscall@0.5.10
	redox_users@0.4.6
	regex-automata@0.4.9
	regex-syntax@0.8.5
	regex@1.11.1
	rustc-demangle@0.1.24
	rustix@1.0.3
	ryu@1.0.20
	same-file@1.0.6
	scopeguard@1.2.0
	serde@1.0.219
	serde_derive@1.0.219
	serde_json@1.0.140
	serde_spanned@0.6.8
	shell-words@1.1.0
	shellexpand@3.1.0
	signal-hook-registry@1.4.2
	slab@0.4.9
	smallvec@1.14.0
	socket2@0.5.8
	strsim@0.11.1
	supports-color@3.0.2
	supports-hyperlinks@3.1.0
	supports-unicode@3.0.0
	syn@2.0.100
	tempfile@3.19.1
	terminal_size@0.4.2
	textwrap@0.16.2
	thiserror-impl@1.0.69
	thiserror-impl@2.0.12
	thiserror@1.0.69
	thiserror@2.0.12
	tokio-macros@2.5.0
	tokio@1.44.1
	toml@0.8.20
	toml_datetime@0.6.8
	toml_edit@0.22.24
	unicode-ident@1.0.18
	unicode-linebreak@0.1.5
	unicode-width@0.1.14
	unicode-width@0.2.0
	utf8parse@0.2.2
	walkdir@2.5.0
	wasi@0.11.0+wasi-snapshot-preview1
	wasi@0.14.2+wasi-0.2.4
	winapi-util@0.1.9
	windows-sys@0.45.0
	windows-sys@0.48.0
	windows-sys@0.52.0
	windows-sys@0.59.0
	windows-targets@0.42.2
	windows-targets@0.48.5
	windows-targets@0.52.6
	windows_aarch64_gnullvm@0.42.2
	windows_aarch64_gnullvm@0.48.5
	windows_aarch64_gnullvm@0.52.6
	windows_aarch64_msvc@0.42.2
	windows_aarch64_msvc@0.48.5
	windows_aarch64_msvc@0.52.6
	windows_i686_gnu@0.42.2
	windows_i686_gnu@0.48.5
	windows_i686_gnu@0.52.6
	windows_i686_gnullvm@0.52.6
	windows_i686_msvc@0.42.2
	windows_i686_msvc@0.48.5
	windows_i686_msvc@0.52.6
	windows_x86_64_gnu@0.42.2
	windows_x86_64_gnu@0.48.5
	windows_x86_64_gnu@0.52.6
	windows_x86_64_gnullvm@0.42.2
	windows_x86_64_gnullvm@0.48.5
	windows_x86_64_gnullvm@0.52.6
	windows_x86_64_msvc@0.42.2
	windows_x86_64_msvc@0.48.5
	windows_x86_64_msvc@0.52.6
	winnow@0.7.4
	wit-bindgen-rt@0.39.0
	zerocopy-derive@0.8.24
	zerocopy@0.8.24
"

inherit cargo

DESCRIPTION="A log file highlighter"
# Double check the homepage as the cargo_metadata crate
# does not provide this value so instead repository is used
HOMEPAGE="https://github.com/bensadeh/tailspin"
SRC_URI="
	https://github.com/bensadeh/tailspin/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz
	${CARGO_CRATE_URIS}
"

# License set may be more restrictive as OR is not respected
# use cargo-license for a more accurate license picture
LICENSE="0BSD Apache-2.0 Apache-2.0-with-LLVM-exceptions Artistic-2 CC0-1.0 ISC MIT MPL-2.0 Unicode-DFS-2016 Unlicense ZLIB"
SLOT="0"
KEYWORDS="~amd64"

# 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}"