monochromatic-git-policy-cli 0.1.2

Repository-owned Git policy wrapper: forwards Git commands and checks commits against configured policies.
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"
name = "monochromatic-git-policy-cli"
version = "0.1.2"
build = false
include = [
    "src/native/**/*.rs",
    "src/native/dependent_version_fixtures/*.json",
    "src/native/index_lock_restart_manager.ps1",
    "/Cargo.toml",
    "/Cargo.lock",
    "/README.md",
    "LICENSES/*.txt",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Repository-owned Git policy wrapper: forwards Git commands and checks commits against configured policies."
homepage = "https://github.com/Aquaticat/Monochromatic/tree/main/package/git-policy/cli"
readme = "README.md"
license = "LGPL-3.0-or-later"
repository = "https://github.com/Aquaticat/Monochromatic.git"

[package.metadata.binstall]
pkg-url = "{ repo }/releases/download/{ name }-v{ version }/{ name }-{ version }-{ target }{ archive-suffix }"
bin-dir = "{ name }-{ version }-{ target }/{ bin }{ binary-ext }"
pkg-fmt = "tgz"

[lib]
name = "git_policy_cli"
path = "src/native/lib.rs"

[[bin]]
name = "cli-git-native"
path = "src/native/main.rs"

[[test]]
name = "native_binary"
path = "src/native/binary_tests.rs"

[[test]]
name = "native_candidates"
path = "src/native/candidate_consumer_tests.rs"

[dependencies.forbidden-strings]
version = "0.5.0"

[dependencies.getrandom]
version = "0.4"

[dependencies.monochromatic-jsonc-edit]
version = "0.1.1"

[dependencies.serde_json]
version = "1"

[target."cfg(unix)".dependencies.ignore]
version = "0.4"

[target."cfg(unix)".dependencies.libc]
version = "0.2"

[target."cfg(unix)".dependencies.tempfile]
version = "3"

[lints.clippy]
disallowed_methods = "deny"
implicit_return = "deny"
needless_return = "allow"
shadow_reuse = "deny"
shadow_same = "deny"
shadow_unrelated = "deny"

[lints.clippy.complexity]
level = "allow"
priority = -1

[profile.dev.build-override]
opt-level = 3

[profile.release]
panic = "unwind"
overflow-checks = true

[profile.release.build-override]
opt-level = 3