[package]
edition = "2024"
rust-version = "1.85"
name = "git-slop"
version = "0.16.4"
build = "build.rs"
include = [
"/build.rs",
"/Cargo.toml",
"/Cargo.lock",
"/src/*.rs",
"/src/**/*.rs",
"/src/cli/html/*.css",
"/src/cli/html/*.js",
"/README.md",
"/LICENSE",
"/assets/brand/*",
"/docs/**/*.md",
"/man/git-slop.1",
"/schemas/*.json",
"/schemas/README.md",
"/policies/**/*.yaml",
"/policies/**/*.md",
"/examples/policies/**/*",
"/benchmarks/advisor/*.json",
"/benchmarks/advisor/README.md",
"/tests/*.rs",
"/tests/fixtures/reports/*",
]
publish = ["crates-io"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A deterministic repository token-defragmenter for humans and AI agents."
homepage = "https://github.com/coreycoto/git-slop"
readme = "README.md"
keywords = [
"git",
"static-analysis",
"repository",
"developer-tools",
"ci",
]
categories = [
"command-line-utilities",
"development-tools",
]
license = "MIT"
repository = "https://github.com/coreycoto/git-slop"
[package.metadata.binstall]
pkg-url = "{ repo }/releases/download/v{ version }/{ name }-v{ version }-{ target }{ archive-suffix }"
bin-dir = "{ name }-v{ version }-{ target }/{ bin }{ binary-ext }"
pkg-fmt = "tgz"
disabled-strategies = [
"quick-install",
"compile",
]
[package.metadata.binstall.overrides.'cfg(target_os = "windows")']
pkg-fmt = "zip"
[features]
advisor-inference-benchmark = []
default = []
[lib]
name = "git_slop"
path = "src/lib.rs"
[[bin]]
name = "git-slop"
path = "src/main.rs"
[[test]]
name = "adoption_followup_contracts"
path = "tests/adoption_followup_contracts.rs"
[[test]]
name = "adoption_lifecycle_contracts"
path = "tests/adoption_lifecycle_contracts.rs"
[[test]]
name = "adoption_state_contracts"
path = "tests/adoption_state_contracts.rs"
[[test]]
name = "audit_regressions"
path = "tests/audit_regressions.rs"
[[test]]
name = "cli_contracts"
path = "tests/cli_contracts.rs"
[[test]]
name = "cli_inline_tests"
path = "tests/cli_inline_tests.rs"
[[test]]
name = "cli_runtime"
path = "tests/cli_runtime.rs"
[[test]]
name = "critical_reports"
path = "tests/critical_reports.rs"
[[test]]
name = "detector_contracts"
path = "tests/detector_contracts.rs"
[[test]]
name = "policy_advisor_contracts"
path = "tests/policy_advisor_contracts.rs"
[[test]]
name = "report_export_contracts"
path = "tests/report_export_contracts.rs"
[[test]]
name = "report_planning_contracts"
path = "tests/report_planning_contracts.rs"
[[test]]
name = "ux_followup_contracts"
path = "tests/ux_followup_contracts.rs"
[dependencies.anyhow]
version = "1.0"
[dependencies.blake2]
version = "0.10"
[dependencies.chrono]
version = "0.4"
features = [
"clock",
"serde",
]
default-features = false
[dependencies.clap]
version = "4.5"
features = ["derive"]
[dependencies.clap_complete]
version = "4.5"
[dependencies.clap_complete_nushell]
version = "4.5"
[dependencies.clap_mangen]
version = "0.3"
[dependencies.flate2]
version = "1.1"
[dependencies.fs2]
version = "0.4"
[dependencies.globset]
version = "0.4"
[dependencies.hex]
version = "0.4"
[dependencies.jsonschema]
version = "0.49.2"
default-features = false
[dependencies.libc]
version = "0.2"
[dependencies.percent-encoding]
version = "2.3"
[dependencies.regex]
version = "1.12"
[dependencies.rusqlite]
version = "0.40"
features = ["bundled"]
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.serde_yaml]
version = "0.9"
[dependencies.sha2]
version = "0.11"
[dependencies.tempfile]
version = "3.23"
[dependencies.thiserror]
version = "2.0"
[dependencies.tiktoken-rs]
version = "0.12"
[dependencies.unicode-normalization]
version = "0.1"
[dependencies.unicode-segmentation]
version = "1.12"
[dependencies.zstd]
version = "0.13"
[dev-dependencies.assert_cmd]
version = "2.1"
[dev-dependencies.predicates]
version = "3.1"
[build-dependencies.serde_json]
version = "1.0"
[profile.release]
lto = "thin"
codegen-units = 1
strip = "symbols"