# 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="
	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
	anyhow@1.0.86
	assert_cmd@2.0.17
	assert_matches@1.5.0
	atty@0.2.14
	autocfg@1.4.0
	bitflags@1.3.2
	bitflags@2.8.0
	borsh@1.5.5
	bstr@1.11.3
	bumpalo@3.17.0
	camino@1.2.2
	cargo-platform@0.3.2
	cargo_metadata@0.23.1
	cfg-expr@0.17.2
	cfg-if@1.0.0
	cfg_aliases@0.2.1
	clap@4.5.28
	clap_builder@4.5.27
	clap_complete@4.0.0
	clap_derive@4.5.28
	clap_lex@0.7.4
	color-print-proc-macro@0.3.7
	color-print@0.3.1
	colorchoice@1.0.3
	console@0.15.0
	cp_r@0.5.2
	crossbeam-deque@0.8.6
	crossbeam-epoch@0.9.18
	crossbeam-utils@0.8.21
	ctrlc@3.4.7
	diff@0.1.13
	difflib@0.4.0
	doc-comment@0.3.3
	dyn-clone@1.0.19
	either@1.13.0
	encode_unicode@0.3.6
	env_filter@0.1.3
	env_logger@0.11.6
	equivalent@1.0.1
	errno@0.3.10
	fastrand@2.3.0
	filetime@0.2.27
	flickzeug@0.4.5
	float-cmp@0.10.0
	fnv@1.0.7
	fs2@0.4.0
	fuchsia-cprng@0.1.1
	getrandom@0.3.3
	globset@0.4.16
	guppy-workspace-hack@0.1.0
	hashbrown@0.12.3
	hashbrown@0.17.1
	heck@0.5.0
	hermit-abi@0.1.19
	hermit-abi@0.3.9
	ignore@0.4.23
	indexmap@1.9.3
	indexmap@2.14.0
	indoc@2.0.0
	insta@1.12.0
	is_terminal_polyfill@1.70.1
	itertools@0.13.0
	itoa@1.0.14
	jiff@0.1.29
	jobserver@0.1.0
	js-sys@0.3.77
	kernel32-sys@0.2.2
	lazy_static@1.4.0
	libc@0.2.174
	libredox@0.1.3
	linked-hash-map@0.5.6
	linux-raw-sys@0.11.0
	linux-raw-sys@0.4.15
	log@0.4.25
	matchers@0.2.0
	memchr@2.7.4
	minimal-lexical@0.2.1
	mutants@0.0.3
	nextest-metadata@0.12.1
	nextest-workspace-hack@0.1.0
	nix@0.30.1
	nom@7.1.3
	normalize-line-endings@0.3.0
	nu-ansi-term@0.50.1
	num-traits@0.2.19
	num_cpus@1.16.0
	nutmeg@0.1.6
	once_cell@1.20.3
	path-slash@0.2.0
	pin-project-lite@0.2.16
	portable-atomic-util@0.2.4
	portable-atomic@1.11.1
	predicates-core@1.0.9
	predicates-tree@1.0.12
	predicates@3.1.3
	pretty_assertions@1.4.1
	proc-macro2@1.0.95
	quick-error@1.2.3
	quote@1.0.35
	r-efi@5.3.0
	rand@0.3.23
	rand@0.4.6
	rand_core@0.3.1
	rand_core@0.4.2
	rdrand@0.4.0
	redox_syscall@0.4.1
	redox_syscall@0.5.8
	ref-cast-impl@1.0.24
	ref-cast@1.0.24
	reflink@0.1.3
	regex-automata@0.4.9
	regex-syntax@0.8.5
	regex@1.10.0
	rustix@0.38.44
	rustix@1.1.2
	rustversion@1.0.19
	rusty-fork@0.3.1
	ryu@1.0.19
	same-file@1.0.6
	schemars@0.9.0
	schemars_derive@0.9.0
	semver@1.0.27
	serde@1.0.228
	serde_core@1.0.228
	serde_derive@1.0.228
	serde_derive_internals@0.29.1
	serde_json@1.0.149
	serde_spanned@1.1.1
	serde_yaml@0.8.26
	sharded-slab@0.1.7
	similar@2.1.0
	smallvec@1.13.2
	smol_str@0.3.2
	strsim@0.11.1
	strum@0.26.0
	strum_macros@0.26.4
	syn@2.0.104
	target-lexicon@0.12.16
	target-spec@3.2.2
	tempfile@3.22.0
	terminal_size@0.1.17
	terminal_size@0.4.1
	termtree@0.5.1
	test-log-macros@0.2.17
	test-log@0.2.16
	thiserror-impl@2.0.17
	thiserror@2.0.17
	thread_local@1.1.8
	toml@1.1.2+spec-1.1.0
	toml_datetime@1.1.1+spec-1.1.0
	toml_parser@1.1.2+spec-1.1.0
	toml_writer@1.1.1+spec-1.1.0
	tracing-attributes@0.1.28
	tracing-core@0.1.33
	tracing-log@0.2.0
	tracing-subscriber@0.3.20
	tracing@0.1.41
	unicode-ident@1.0.16
	unicode-width@0.1.14
	utf8parse@0.2.2
	valuable@0.1.1
	wait-timeout@0.2.1
	walkdir@2.5.0
	wasi@0.14.7+wasi-0.2.4
	wasip2@1.0.1+wasi-0.2.4
	wasite@0.1.0
	wasm-bindgen-backend@0.2.100
	wasm-bindgen-macro-support@0.2.100
	wasm-bindgen-macro@0.2.100
	wasm-bindgen-shared@0.2.100
	wasm-bindgen@0.2.100
	web-sys@0.3.77
	whoami@1.5.0
	winapi-build@0.1.1
	winapi-i686-pc-windows-gnu@0.4.0
	winapi-util@0.1.9
	winapi-x86_64-pc-windows-gnu@0.4.0
	winapi@0.2.8
	winapi@0.3.9
	windows-sys@0.52.0
	windows-sys@0.59.0
	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@1.0.3
	wit-bindgen@0.46.0
	yaml-rust@0.4.5
	yansi@0.5.1
	yansi@1.0.1
	zmij@1.0.21
"

RUST_MIN_VER="1.88.0"

inherit cargo

DESCRIPTION="Cargo subcommand that injects bugs to find gaps in test coverage"
HOMEPAGE="https://mutants.rs/"
SRC_URI="https://github.com/sourcefrog/cargo-mutants/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
SRC_URI+=" ${CARGO_CRATE_URIS}"

LICENSE="MIT"
# Dependent crate licenses
LICENSE+="
	Apache-2.0 Apache-2.0-with-LLVM-exceptions CC0-1.0 ISC MIT
	Unicode-3.0
"
SLOT="0"
KEYWORDS="~amd64 ~arm64"

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