patholog 1.0.0

Diagnose, explain, clean, and safely repair PATH behavior.
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.88"
name = "patholog"
version = "1.0.0"
authors = ["Klemen Tusar <techouse@gmail.com>"]
build = false
exclude = [
    ".codacy.yml",
    ".github/",
    ".gitattributes",
    ".gitignore",
    ".history/",
    ".vscode/**",
    "AGENTS.md",
    "about.hbs",
    "about.toml",
    "CODE-OF-CONDUCT.md",
    "docs/",
    "fuzz/**",
    "Makefile",
    "RELEASING.md",
    "SPEC.md",
    "scripts/**",
    "src/**/tests.rs",
    "src/**/tests/**",
    "SECURITY.md",
    "tests/**",
    "THIRD-PARTY-LICENSES.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Diagnose, explain, clean, and safely repair PATH behavior."
homepage = "https://techouse.github.io/patholog/"
documentation = "https://docs.rs/patholog"
readme = "README.md"
keywords = [
    "cli",
    "file-system",
    "path",
    "utilities",
]
license = "BSD-3-Clause"
repository = "https://github.com/techouse/patholog"

[package.metadata.deb]
maintainer = "Klemen Tusar <techouse@gmail.com>"
copyright = "2026, Klemen Tusar <techouse@gmail.com>"
depends = "$auto"
extended-description = """
patholog diagnoses, explains, cleans, and safely repairs PATH behavior across
macOS, Linux, and Windows. It focuses on read-first diagnostics and tightly
scoped shell profile repairs through a managed block.
"""
section = "utils"
priority = "optional"
assets = [
    [
    "target/release/patholog",
    "usr/bin/",
    "755",
],
    [
    "README.md",
    "usr/share/doc/patholog/README.md",
    "644",
],
    [
    "LICENSE",
    "usr/share/doc/patholog/LICENSE",
    "644",
],
    [
    "THIRD-PARTY-LICENSES.md",
    "usr/share/doc/patholog/THIRD-PARTY-LICENSES.md",
    "644",
],
    [
    "target/completions/patholog.bash",
    "usr/share/bash-completion/completions/patholog",
    "644",
],
    [
    "target/completions/_patholog",
    "usr/share/zsh/vendor-completions/_patholog",
    "644",
],
    [
    "target/completions/patholog.fish",
    "usr/share/fish/vendor_completions.d/patholog.fish",
    "644",
],
]

[package.metadata.generate-rpm]
release = "1"

[[package.metadata.generate-rpm.assets]]
source = "target/release/patholog"
dest = "/usr/bin/patholog"
mode = "0755"

[[package.metadata.generate-rpm.assets]]
source = "README.md"
dest = "/usr/share/doc/patholog/README.md"
mode = "0644"
doc = true

[[package.metadata.generate-rpm.assets]]
source = "LICENSE"
dest = "/usr/share/doc/patholog/LICENSE"
mode = "0644"
doc = true

[[package.metadata.generate-rpm.assets]]
source = "THIRD-PARTY-LICENSES.md"
dest = "/usr/share/doc/patholog/THIRD-PARTY-LICENSES.md"
mode = "0644"
doc = true

[[package.metadata.generate-rpm.assets]]
source = "target/completions/patholog.bash"
dest = "/usr/share/bash-completion/completions/patholog"
mode = "0644"

[[package.metadata.generate-rpm.assets]]
source = "target/completions/_patholog"
dest = "/usr/share/zsh/vendor-completions/_patholog"
mode = "0644"

[[package.metadata.generate-rpm.assets]]
source = "target/completions/patholog.fish"
dest = "/usr/share/fish/vendor_completions.d/patholog.fish"
mode = "0644"

[features]
default = []
fuzzing = []

[lib]
name = "patholog"
path = "src/lib.rs"

[[bin]]
name = "patholog"
path = "src/main.rs"

[dependencies.clap]
version = "4.6.1"
features = ["derive"]

[dependencies.clap_complete]
version = "4"

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_json]
version = "1"

[dependencies.tempfile]
version = "3"

[dependencies.toml]
version = "1"

[dev-dependencies.assert_cmd]
version = "2"

[profile.release]
strip = "symbols"