ocloc 0.4.1

Fast, reliable lines-of-code counter with JSON/CSV output
Documentation
[[bin]]
name = "ocloc"
path = "src/main.rs"

[dependencies.anyhow]
version = "1.0"

[dependencies.chrono]
version = "0.4"

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

[dependencies.git2]
features = ["vendored-libgit2"]
version = "0.18"

[dependencies.ignore]
version = "0.4"

[dependencies.indexmap]
features = ["serde"]
version = "2.6"

[dependencies.indicatif]
version = "0.17"

[dependencies.memchr]
version = "2"

[dependencies.memmap2]
version = "0.9"

[dependencies.once_cell]
version = "1.19"

[dependencies.rayon]
version = "1.10"

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

[dependencies.serde_json]
version = "1.0"

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

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

[package]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["command-line-utilities", "development-tools"]
description = "Fast, reliable lines-of-code counter with JSON/CSV output"
documentation = "https://docs.rs/ocloc"
edition = "2024"
homepage = "https://github.com/adhishthite/ocloc"
keywords = ["cloc", "loc", "code", "metrics", "cli"]
license = "MIT"
name = "ocloc"
readme = "README.md"
repository = "https://github.com/adhishthite/ocloc"
rust-version = "1.85"
version = "0.4.1"

[profile.release]
codegen-units = 1
lto = "thin"
opt-level = 3
panic = "abort"

[[test]]
name = "diff_mode"
path = "tests/diff_mode.rs"

[[test]]
name = "diff_rename"
path = "tests/diff_rename.rs"

[[test]]
name = "diff_staged_worktree"
path = "tests/diff_staged_worktree.rs"

[[test]]
name = "integration_simple"
path = "tests/integration_simple.rs"

[[test]]
name = "output_formats"
path = "tests/output_formats.rs"

[[test]]
name = "shebang_detection"
path = "tests/shebang_detection.rs"