PORTNAME=	cargo-mutants
DISTVERSIONPREFIX=	v
DISTVERSION=	24.9.0
CATEGORIES=	devel

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	Mutation testing for Rust
WWW=		https://mutants.rs/

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/LICENSE

BROKEN_i386=	compilation fails, see https://github.com/sourcefrog/cargo-mutants/issues/380

USES=		cargo

USE_GITHUB=	yes
GH_ACCOUNT=	sourcefrog

CARGO_CRATES=	aho-corasick-0.7.20 \
		aho-corasick-1.1.3 \
		android-tzdata-0.1.1 \
		android_system_properties-0.1.5 \
		ansi_term-0.12.1 \
		anstream-0.5.0 \
		anstyle-0.3.5 \
		anstyle-1.0.7 \
		anstyle-parse-0.2.4 \
		anstyle-query-1.1.0 \
		anstyle-wincon-2.1.0 \
		anyhow-1.0.86 \
		assert_cmd-2.0.0 \
		atty-0.2.14 \
		autocfg-1.3.0 \
		bitflags-1.3.2 \
		bitflags-2.5.0 \
		bstr-0.2.17 \
		bstr-1.9.1 \
		bumpalo-3.16.0 \
		bytecount-0.6.8 \
		camino-1.1.6 \
		cargo-platform-0.1.8 \
		cargo_metadata-0.18.0 \
		cc-1.0.99 \
		cfg-if-1.0.0 \
		cfg_aliases-0.1.1 \
		chrono-0.4.38 \
		clap-4.4.1 \
		clap_builder-4.4.1 \
		clap_complete-4.0.0 \
		clap_derive-4.4.0 \
		clap_lex-0.5.1 \
		color-print-0.3.1 \
		color-print-proc-macro-0.3.6 \
		colorchoice-1.0.1 \
		console-0.15.0 \
		core-foundation-sys-0.8.6 \
		cp_r-0.5.1 \
		crossbeam-channel-0.5.13 \
		crossbeam-utils-0.8.20 \
		ctor-0.1.26 \
		ctrlc-3.2.1 \
		deranged-0.3.11 \
		diff-0.1.13 \
		difflib-0.4.0 \
		doc-comment-0.3.3 \
		either-1.12.0 \
		encode_unicode-0.3.6 \
		equivalent-1.0.1 \
		errno-0.3.9 \
		fastrand-2.0.0 \
		filetime-0.2.23 \
		float-cmp-0.9.0 \
		fnv-1.0.7 \
		fs2-0.4.3 \
		globset-0.4.10 \
		hashbrown-0.12.3 \
		hashbrown-0.14.5 \
		heck-0.4.1 \
		heck-0.5.0 \
		hermit-abi-0.1.19 \
		hermit-abi-0.3.9 \
		humantime-2.1.0 \
		iana-time-zone-0.1.60 \
		iana-time-zone-haiku-0.1.2 \
		ignore-0.4.20 \
		indexmap-1.9.3 \
		indexmap-2.2.6 \
		indoc-2.0.0 \
		insta-1.12.0 \
		io-lifetimes-1.0.11 \
		itertools-0.10.5 \
		itertools-0.12.0 \
		itoa-1.0.11 \
		jobserver-0.1.31 \
		js-sys-0.3.69 \
		lazy_static-1.4.0 \
		libc-0.2.155 \
		linked-hash-map-0.5.6 \
		linux-raw-sys-0.3.8 \
		linux-raw-sys-0.4.14 \
		lock_api-0.4.12 \
		log-0.4.21 \
		memchr-2.7.2 \
		memoffset-0.6.5 \
		minimal-lexical-0.2.1 \
		mutants-0.0.3 \
		nix-0.23.2 \
		nix-0.28.0 \
		nom-7.1.3 \
		nom_locate-4.2.0 \
		normalize-line-endings-0.3.0 \
		nu-ansi-term-0.46.0 \
		num-conv-0.1.0 \
		num-traits-0.2.19 \
		num_cpus-1.16.0 \
		nutmeg-0.1.4 \
		once_cell-1.19.0 \
		output_vt100-0.1.3 \
		overload-0.1.1 \
		parking_lot-0.12.3 \
		parking_lot_core-0.9.10 \
		patch-0.7.0 \
		path-slash-0.2.0 \
		pin-project-lite-0.2.14 \
		powerfmt-0.2.0 \
		predicates-2.1.5 \
		predicates-3.0.0 \
		predicates-core-1.0.6 \
		predicates-tree-1.0.9 \
		pretty_assertions-1.0.0 \
		proc-macro2-1.0.74 \
		quick-error-1.2.3 \
		quote-1.0.35 \
		redox_syscall-0.4.1 \
		redox_syscall-0.5.1 \
		regex-1.10.0 \
		regex-automata-0.1.10 \
		regex-automata-0.4.7 \
		regex-syntax-0.8.4 \
		rustix-0.37.27 \
		rustix-0.38.34 \
		rustversion-1.0.17 \
		rusty-fork-0.3.0 \
		ryu-1.0.18 \
		same-file-1.0.6 \
		scopeguard-1.2.0 \
		semver-1.0.23 \
		serde-1.0.194 \
		serde_derive-1.0.194 \
		serde_json-1.0.117 \
		serde_spanned-0.6.6 \
		serde_yaml-0.8.26 \
		sharded-slab-0.1.7 \
		similar-2.1.0 \
		smallvec-1.13.2 \
		strsim-0.10.0 \
		strum-0.26.0 \
		strum_macros-0.26.4 \
		syn-1.0.109 \
		syn-2.0.46 \
		tempfile-3.9.0 \
		terminal_size-0.1.17 \
		terminal_size-0.2.6 \
		termtree-0.4.1 \
		thiserror-1.0.61 \
		thiserror-impl-1.0.61 \
		thread_local-1.1.8 \
		time-0.3.36 \
		time-core-0.1.2 \
		time-macros-0.2.18 \
		toml-0.8.0 \
		toml_datetime-0.6.6 \
		toml_edit-0.20.7 \
		tracing-0.1.40 \
		tracing-appender-0.2.0 \
		tracing-attributes-0.1.27 \
		tracing-core-0.1.32 \
		tracing-log-0.2.0 \
		tracing-subscriber-0.3.18 \
		unicode-ident-1.0.12 \
		unicode-width-0.1.13 \
		utf8parse-0.2.2 \
		valuable-0.1.0 \
		wait-timeout-0.2.0 \
		walkdir-2.5.0 \
		wasite-0.1.0 \
		wasm-bindgen-0.2.92 \
		wasm-bindgen-backend-0.2.92 \
		wasm-bindgen-macro-0.2.92 \
		wasm-bindgen-macro-support-0.2.92 \
		wasm-bindgen-shared-0.2.92 \
		web-sys-0.3.69 \
		whoami-1.5.0 \
		winapi-0.3.9 \
		winapi-i686-pc-windows-gnu-0.4.0 \
		winapi-util-0.1.8 \
		winapi-x86_64-pc-windows-gnu-0.4.0 \
		windows-core-0.52.0 \
		windows-sys-0.48.0 \
		windows-sys-0.52.0 \
		windows-targets-0.48.5 \
		windows-targets-0.52.5 \
		windows_aarch64_gnullvm-0.48.5 \
		windows_aarch64_gnullvm-0.52.5 \
		windows_aarch64_msvc-0.48.5 \
		windows_aarch64_msvc-0.52.5 \
		windows_i686_gnu-0.48.5 \
		windows_i686_gnu-0.52.5 \
		windows_i686_gnullvm-0.52.5 \
		windows_i686_msvc-0.48.5 \
		windows_i686_msvc-0.52.5 \
		windows_x86_64_gnu-0.48.5 \
		windows_x86_64_gnu-0.52.5 \
		windows_x86_64_gnullvm-0.48.5 \
		windows_x86_64_gnullvm-0.52.5 \
		windows_x86_64_msvc-0.48.5 \
		windows_x86_64_msvc-0.52.5 \
		winnow-0.5.40 \
		yaml-rust-0.4.5 \
		yansi-0.5.1

PLIST_FILES=	bin/${PORTNAME}

.include <bsd.port.mk>
