abcop 0.16.4

Must-have ABC complexity gate for AI development. Ruby, Rust, Python, Go, JS/TS, C/C++, PHP, Java, C#, Swift, Zig, Dart, Solidity, ObjC
# 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.85"
name = "abcop"
version = "0.16.4"
authors = ["Peter Adrianov"]
build = false
include = [
    "src/**",
    "Cargo.toml",
    "Cargo.lock",
    "README.md",
    "LICENSE",
    "man/**",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Must-have ABC complexity gate for AI development. Ruby, Rust, Python, Go, JS/TS, C/C++, PHP, Java, C#, Swift, Zig, Dart, Solidity, ObjC"
homepage = "https://github.com/adrianov/abcop"
documentation = "https://github.com/adrianov/abcop"
readme = "README.md"
keywords = [
    "linter",
    "complexity",
    "static-analysis",
    "ai",
    "llm",
]
categories = [
    "command-line-utilities",
    "development-tools",
]
license = "GPL-3.0-or-later"
repository = "https://github.com/adrianov/abcop"

[package.metadata.deb]
section = "utils"
priority = "optional"
maintainer = "Peter M Adrianov <peter.adrianov@gmail.com>"
copyright = "Peter M Adrianov"
license-file = [
    "LICENSE",
    "0",
]
extended-description = """
Must-have ABC complexity gate for AI-written code.
One self-contained binary across Ruby, Rust, Python, Go, PHP, Java, C#,
Dart, JavaScript, TypeScript, C, C++, Objective-C, Swift, Solidity and Zig.
Built for Ubuntu 22.04+ and Debian bookworm+ (amd64)."""
depends = "$auto"
assets = [
    [
    "target/release/abcop",
    "usr/bin/",
    "755",
],
    [
    "man/abcop.1",
    "usr/share/man/man1/",
    "644",
],
]

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

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

[dependencies.git2]
version = "0.20"
default-features = false

[dependencies.ignore]
version = "0.4"

[dependencies.libc]
version = "0.2"

[dependencies.memmap2]
version = "0.9"

[dependencies.rayon]
version = "1"

[dependencies.redb]
version = "4.2"

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

[dependencies.serde_json]
version = "1"

[dependencies.sha2]
version = "0.10"

[dependencies.tree-sitter]
version = "0.26"

[dependencies.tree-sitter-c]
version = "0.24.2"

[dependencies.tree-sitter-c-sharp]
version = "0.23.5"

[dependencies.tree-sitter-cpp]
version = "0.23.4"

[dependencies.tree-sitter-dart]
version = "0.2.0"

[dependencies.tree-sitter-go]
version = "0.25.0"

[dependencies.tree-sitter-java]
version = "0.23.5"

[dependencies.tree-sitter-javascript]
version = "0.25.0"

[dependencies.tree-sitter-objc]
version = "3.0.2"

[dependencies.tree-sitter-php]
version = "0.24.2"

[dependencies.tree-sitter-python]
version = "0.25.0"

[dependencies.tree-sitter-ruby]
version = "0.23.1"

[dependencies.tree-sitter-rust]
version = "0.24.2"

[dependencies.tree-sitter-solidity]
version = "1.2.13"

[dependencies.tree-sitter-swift]
version = "0.7.3"

[dependencies.tree-sitter-typescript]
version = "0.23.2"

[dependencies.tree-sitter-zig]
version = "1.1.2"

[profile.release]
lto = true
codegen-units = 1