# 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 = "cq"
version = "0.1.0"
authors = ["karkigrishmin <grishminkarki7@gmail.com>"]
build = false
exclude = [
    "tests/fixtures/*",
    ".github/*",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "CBOR Query Tool for Cardano transactions - think 'jq for Cardano CBOR'"
homepage = "https://github.com/karkigrishmin/cq"
documentation = "https://github.com/karkigrishmin/cq#readme"
readme = "README.md"
keywords = [
    "cardano",
    "cbor",
    "blockchain",
    "cli",
    "cryptocurrency",
]
categories = [
    "command-line-utilities",
    "cryptography::cryptocurrencies",
]
license = "MIT"
repository = "https://github.com/karkigrishmin/cq"

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

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

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

[dependencies.anyhow]
version = "1.0"

[dependencies.ciborium]
version = "0.2"

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

[dependencies.cml-chain]
version = "6.0"

[dependencies.cml-core]
version = "6.0"

[dependencies.cml-crypto]
version = "6.0"

[dependencies.colored]
version = "2.1"

[dependencies.comfy-table]
version = "7.1"

[dependencies.hex]
version = "0.4"

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

[dependencies.serde_json]
version = "1.0"

[dependencies.thiserror]
version = "2.0"

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

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

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

[profile.dist]
lto = "thin"
inherits = "release"

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