[package]
edition = "2024"
rust-version = "1.95"
name = "cargo-gamma-lib"
version = "0.2.0"
authors = ["The Oxidizer Project Authors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Internal library for cargo-gamma"
homepage = "https://github.com/microsoft/ox-tools"
readme = "README.md"
keywords = [
"cargo",
"mutation-testing",
"testing",
]
categories = ["development-tools::testing"]
license = "MIT"
repository = "https://github.com/microsoft/ox-tools/tree/main/crates/cargo-gamma-lib"
resolver = "2"
[package.metadata.docs.rs]
all-features = true
[package.metadata.ox-gen-readme]
disable = true
[package.metadata.coverage-gate]
min-lines-percent = 96.7
[features]
internals = ["dep:tempfile"]
loom = []
[lib]
name = "cargo_gamma_lib"
path = "src/lib.rs"
[[test]]
name = "agreement"
path = "tests/agreement.rs"
required-features = ["internals"]
[[test]]
name = "cli"
path = "tests/cli.rs"
required-features = ["internals"]
[[test]]
name = "docs"
path = "tests/docs.rs"
required-features = ["internals"]
[[test]]
name = "gate"
path = "tests/gate.rs"
required-features = ["internals"]
[[test]]
name = "instrumented_compiles"
path = "tests/instrumented_compiles.rs"
required-features = ["internals"]
[[test]]
name = "loom"
path = "tests/loom.rs"
required-features = ["loom"]
[[test]]
name = "regressions"
path = "tests/regressions.rs"
required-features = ["internals"]
[[test]]
name = "sarif_contract"
path = "tests/sarif_contract.rs"
required-features = ["internals"]
[[test]]
name = "schema_conformance"
path = "tests/schema_conformance.rs"
required-features = ["internals"]
[[test]]
name = "session"
path = "tests/session.rs"
required-features = ["internals"]
[[test]]
name = "units"
path = "tests/units.rs"
required-features = ["internals"]
[dependencies.blake3]
version = "1.8.7"
features = ["std"]
default-features = false
[dependencies.camino]
version = "1.2.5"
default-features = false
[dependencies.cargo-gamma-engine]
version = "0.2.0"
default-features = false
[dependencies.cargo-gamma-process]
version = "0.2.0"
default-features = false
[dependencies.cargo-gamma-rt]
version = "0.2.0"
features = ["embedding"]
default-features = false
[dependencies.cargo-gamma-unsafe]
version = "0.2.0"
default-features = false
[dependencies.cargo_metadata]
version = "0.23.1"
default-features = false
[dependencies.clap]
version = "4.6.6"
features = [
"std",
"derive",
"color",
"help",
"error-context",
"usage",
"suggestions",
"env",
"wrap_help",
]
default-features = false
[dependencies.clap_complete]
version = "4.6.9"
default-features = false
[dependencies.compact_str]
version = "0.10.0"
features = [
"serde",
"std",
]
default-features = false
[dependencies.ignore]
version = "0.4.33"
default-features = false
[dependencies.owo-colors]
version = "4.4.0"
default-features = false
[dependencies.proc-macro2]
version = "1.0.107"
features = [
"span-locations",
"proc-macro",
]
default-features = false
[dependencies.reflink-copy]
version = "0.1.30"
default-features = false
[dependencies.rustc-hash]
version = "2.1.3"
features = ["std"]
default-features = false
[dependencies.serde]
version = "1.0.229"
features = [
"derive",
"rc",
"std",
]
default-features = false
[dependencies.serde_json]
version = "1.0.151"
features = ["std"]
default-features = false
[dependencies.syn]
version = "3.0.4"
features = [
"full",
"parsing",
"printing",
"visit",
"extra-traits",
"clone-impls",
"proc-macro",
]
default-features = false
[dependencies.tempfile]
version = "3.27.0"
optional = true
default-features = false
[dependencies.toml]
version = "1.1.4"
features = [
"parse",
"display",
"serde",
"std",
]
default-features = false
[dependencies.toml_edit]
version = "0.25.13"
features = [
"parse",
"display",
"parse",
"display",
]
default-features = false
[dependencies.walkdir]
version = "2.5.0"
default-features = false
[dev-dependencies.bolero]
version = "0.13.4"
features = ["std"]
default-features = false
[dev-dependencies.bolero-engine]
version = "0.13.4"
features = ["any"]
default-features = false
[dev-dependencies.cargo-gamma-process]
version = "0.2.0"
features = ["fault-injection"]
default-features = false
[dev-dependencies.tempfile]
version = "3.27.0"
default-features = false
[target."cfg(loom)".dependencies.loom]
version = "0.7.2"
default-features = false
[target."cfg(unix)".dependencies.libc]
version = "0.2.189"
features = ["std"]
default-features = false
[lints.clippy]
allow_attributes = "warn"
allow_attributes_without_reason = "warn"
as_pointer_underscore = "warn"
assertions_on_result_states = "warn"
clone_on_ref_ptr = "warn"
deref_by_slicing = "warn"
disallowed_script_idents = "warn"
empty_drop = "warn"
empty_enum_variants_with_brackets = "warn"
empty_structs_with_brackets = "warn"
fn_to_numeric_cast_any = "warn"
if_then_some_else_none = "warn"
literal_string_with_formatting_args = "allow"
map_err_ignore = "warn"
missing_const_for_fn = "allow"
multiple_crate_versions = "allow"
multiple_unsafe_ops_per_block = "warn"
option_if_let_else = "allow"
redundant_pub_crate = "allow"
redundant_type_annotations = "warn"
renamed_function_params = "warn"
semicolon_outside_block = "warn"
should_panic_without_expect = "allow"
significant_drop_tightening = "allow"
too_long_first_doc_paragraph = "warn"
undocumented_unsafe_blocks = "warn"
unnecessary_safety_comment = "warn"
unnecessary_safety_doc = "warn"
unneeded_field_pattern = "warn"
unused_result_ok = "warn"
unwrap_used = "warn"
wildcard_imports = "allow"
[lints.clippy.cargo]
level = "warn"
priority = -1
[lints.clippy.complexity]
level = "warn"
priority = -1
[lints.clippy.correctness]
level = "warn"
priority = -1
[lints.clippy.nursery]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.clippy.perf]
level = "warn"
priority = -1
[lints.clippy.style]
level = "warn"
priority = -1
[lints.clippy.suspicious]
level = "warn"
priority = -1
[lints.rust]
ambiguous_negative_literals = "warn"
missing_debug_implementations = "warn"
redundant_imports = "warn"
redundant_lifetimes = "warn"
trivial_numeric_casts = "warn"
unsafe_op_in_unsafe_fn = "warn"
unused_lifetimes = "warn"
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = [
"cfg(coverage,coverage_nightly)",
"cfg(loom)",
"cfg(miri_race_coverage)",
"cfg(miri_strict_provenance)",
"cfg(miri_tree_borrows)",
]
[lints.rustdoc]
broken_intra_doc_links = "warn"
missing_crate_level_docs = "warn"
unescaped_backticks = "warn"