# 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 = "2021"
name = "mycop"
version = "0.2.1"
build = false
exclude = [
    "tests/",
    "dist/",
    "vscode-extension/",
    ".github/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "AI Code Security Scanner — detect vulnerabilities in AI-generated code"
readme = "README.md"
keywords = [
    "security",
    "scanner",
    "sast",
    "ai",
    "vulnerability",
]
categories = [
    "command-line-utilities",
    "development-tools",
]
license = "MIT"
repository = "https://github.com/AbdumajidRashidov/mycop"

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

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

[dependencies.anyhow]
version = "1"

[dependencies.chrono]
version = "0.4"

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

[dependencies.colored]
version = "2"

[dependencies.glob]
version = "0.3"

[dependencies.ignore]
version = "0.4"

[dependencies.indicatif]
version = "0.17"

[dependencies.rayon]
version = "1"

[dependencies.regex]
version = "1"

[dependencies.reqwest]
version = "0.12"
features = [
    "json",
    "blocking",
    "rustls-tls",
]
default-features = false

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

[dependencies.serde_json]
version = "1"

[dependencies.serde_yaml]
version = "0.9"

[dependencies.streaming-iterator]
version = "0.1"

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

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

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

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

[dependencies.uuid]
version = "1"
features = ["v4"]

[dependencies.walkdir]
version = "2"

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

[dev-dependencies.predicates]
version = "3"

[dev-dependencies.tempfile]
version = "3"

[profile.release]
opt-level = 3
lto = true
codegen-units = 1
strip = true
