BSD Ports

devel/cargo-mutants 27.1.0_5 FreeBSD

Mutation testing for Rust

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
9c878207a1
License
MIT
Categories
devel
Package size
1408.1 KiB, 3955.9 KiB installed

Description

cargo-mutants helps you improve your program's quality by finding places where bugs could be inserted without causing any tests to fail.

Coverage measurements can be helpful, but they really tell you what code is reached by a test, and not whether the test really checks anything about the behavior of the code. Mutation tests give different information, about whether the tests really check the code's behavior.

The goal of cargo-mutants is to be easy to run on any Rust source tree, and to tell you something interesting about areas where bugs might be lurking or the tests might be insufficient.

In the other systems

SystemPortVersion
FreeBSDdevel/cargo-mutants27.1.0_5
DragonFlydevel/cargo-mutants25.0.1_1
HardenedBSDdevel/cargo-mutants27.1.0_3
GhostBSDdevel/cargo-mutants27.1.0_3

Install

Binary package:

pkg install cargo-mutants

From the ports tree:

cd /usr/ports/devel/cargo-mutants/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	cargo-mutants>0:devel/cargo-mutants

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest27.1.0_427.1.0_5---
FreeBSD:14:quarterly27.1.0_327.1.0_3n/a--
FreeBSD:15:latest27.1.0_527.1.0_5n/a--
FreeBSD:15:quarterly27.1.0_327.1.0_3n/an/an/a
FreeBSD:16:latest27.1.0_327.1.0_5n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

Build dependencies 11

No port depends on this one.

Configuration

No options to configure.

USES
cargo
Service scripts
none

Files

distinfo 203
FileSizeSHA256
rust/crates/aho-corasick-1.1.3.crate1833118e60d3430d3a69478ad0993f19238d2df97c507009a52b3c10addcd7f6bcb916
rust/crates/anstream-0.6.18.crate296818acc5369981196006228e28809f761875c0327210a891e941f4c683b3a99529b
rust/crates/anstyle-1.0.10.crate1572555cc3b69f167a1ef2e161439aa98aed94e6028e5f9a59be9a6ffb47aef1651f9
rust/crates/anstyle-parse-0.2.6.crate223433b2d16507662817a6a20a9ea92df6652ee4f94f914589377d69f3b21bc5798a9
rust/crates/anstyle-query-1.1.2.crate996979947af37f4177cfead1110013d678905c37501914fba0efea834c3fe9a8d60c
rust/crates/anstyle-wincon-3.0.7.crate12400ca3534e77181a9cc07539ad51f2141fe32f6c3ffd4df76db8ad92346b003ae4e
rust/crates/anyhow-1.0.86.crate46741b3d1d046238990b9cf5bcde22a3fb3584ee5cf65fb2765f454ed428c7a0063da
rust/crates/assert_cmd-2.0.17.crate269142bd389a4b2970a01282ee455294913c0a43724daedcd1a24c3eb0ec1c1320b66
rust/crates/assert_matches-1.5.0.crate77619b34d609dfbaf33d6889b2b7106d3ca345eacad44200913df5ba02bfd31d2ba9
rust/crates/atty-0.2.14.crate5470d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8
rust/crates/autocfg-1.4.0.crate17712ace50bade8e6234aa140d9a2f552bbee1db4d353f69b8217bc503490fc1a9f26
rust/crates/bitflags-1.3.2.crate23021bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a
rust/crates/bitflags-2.8.0.crate474828f68f53c83ab957f72c32642f3868eec03eb974d1fb82e453128456482613d36
rust/crates/borsh-1.5.5.crate766215430e3be710b68d984d1391c854eb431a9d548640711faa54eecb1df93db91cc
rust/crates/bstr-1.11.3.crate351536531a9155a481e2ee699d4f98f43c0ca4ff8ee1bfd55c31e9e98fb29d2b176fe0
rust/crates/bumpalo-3.17.0.crate919751628fb46dfa0b37568d12e5edd512553eccf6a22a78e8bde00bb4aed84d5bdbf
rust/crates/camino-1.2.2.crate41202e629a66d692cb9ff1a1c664e41771b3dcaf961985a9774c0eb0bd1b51cf60a48
rust/crates/cargo-platform-0.3.2.crate1351587a0c0e6148f11f01f32650a2ea02d532b2ad4e81d8bd41e6e565b5adc5e6082
rust/crates/cargo_metadata-0.23.1.crate30497ef987d17b0a113becdd19d3d0022d04d7ef41f9efe4f3fb63ac44ba61df3ade9
rust/crates/cfg-expr-0.17.2.crate440348d4ba6e40bd1184518716a6e1a781bf9160e286d219ccdb8ab2612e74cfe4789

Commit history 4

DateCommitCreditsLog message
9c878207a1 Mikael Urankar lang/rust: Bump revisions after 1.99.0
PR: 299016
396c159306 Alan Somers */*: Fix many Rust ports to run without COMPAT11
RISCV does not include COMPAT11 by default. But Rust's libc bound the compat-11 symbols until version 0.2.176. Patch a great many Rust ports to use a newer version of libc, to eliminate the dependency on COMPAT11. Explicitly patching Cargo.lock isn't usually necessarily, since within the build jail cargo is forced to use whichever crates Makefile.crates installs there. Notes on specific ports: * textproc/bookokrat: Rework bookokrat's existing patch to be more robust. Also, report the issue upstream: https://github.com/bugzmanov/bookokrat/issues/182 * security/sequoia-chameleon-gnupg security/sequoia-sq "cargo update -p libc" insisted on updating some other crates, too. * devel/cargo-generate finance/tickrs net-im/gurk-rs net-p2p/oura textproc/mdbook-linkcheck www/lychee …
7316461925 Mikael Urankar lang/rust: Bump revisions after 1.98.1
PR: 298139
9c892d2601 Mikael Urankar lang/rust: Bump revisions after 1.97.1
PR: 296645