# 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.92"
name = "cor"
version = "2026.4.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Colorize JSON-structured log lines from stdin"
readme = "README.md"
keywords = [
    "json",
    "log",
    "color",
    "cli",
    "structured-logging",
]
categories = [
    "command-line-utilities",
    "development-tools",
]
license = "MIT"
repository = "https://github.com/alexsavio/cor-cli"

[features]
simd = ["dep:simd-json"]

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

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

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

[[bench]]
name = "throughput"
path = "benches/throughput.rs"
harness = false

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

[dependencies.clap_complete]
version = "4.6"

[dependencies.jiff]
version = "0.2.24"

[dependencies.owo-colors]
version = "4.3"
features = ["supports-colors"]

[dependencies.regex]
version = "1"

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

[dependencies.serde_json]
version = "1"

[dependencies.simd-json]
version = "0.17"
optional = true

[dependencies.thiserror]
version = "2"

[dependencies.toml]
version = "1.1"

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

[dev-dependencies.criterion]
version = "0.8.2"
features = ["html_reports"]

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

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

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

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