# 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 = "bqtools"
version = "0.4.14"
authors = ["Noam Teyssier <noam.teyssier@arcinstitute.org>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A command-line tool for interacting with BINSEQ file formats."
readme = "README.md"
keywords = [
    "bioinformatics",
    "binseq",
    "fastx",
    "file-format",
    "sequencing",
]
categories = [
    "command-line-utilities",
    "science::bioinformatics",
    "encoding",
]
license = "MIT"
repository = "https://github.com/arcinstitute/bqtools"

[features]
default = [
    "htslib",
    "gcs",
]
fuzzy = ["sassy"]
gcs = ["paraseq/gcs"]
htslib = ["paraseq/htslib"]

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

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

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

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

[dependencies.aho-corasick]
version = "1.1.4"

[dependencies.anyhow]
version = "1.0.100"

[dependencies.binseq]
version = "0.8.1"

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

[dependencies.csv]
version = "1.4.0"

[dependencies.env_logger]
version = "0.11.8"

[dependencies.fixedbitset]
version = "0.5.7"

[dependencies.gzp]
version = "2.0.2"

[dependencies.is-terminal]
version = "0.4.17"

[dependencies.itoa]
version = "1.0.15"

[dependencies.libc]
version = "0.2.178"

[dependencies.log]
version = "0.4.29"

[dependencies.memmap2]
version = "0.9.9"

[dependencies.niffler]
version = "3.0.0"

[dependencies.nix]
version = "0.30.1"
features = ["fs"]

[dependencies.num_cpus]
version = "1.17.0"

[dependencies.paraseq]
version = "0.4.3"

[dependencies.parking_lot]
version = "0.12.5"

[dependencies.rand]
version = "0.9.2"

[dependencies.regex]
version = "1.12.2"

[dependencies.sassy]
version = "0.1.9"
optional = true

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

[dependencies.walkdir]
version = "2.5.0"

[dependencies.zstd]
version = "0.13.3"
features = ["zstdmt"]

[dev-dependencies.bon]
version = "3.8.1"

[dev-dependencies.itertools]
version = "0.14.0"

[dev-dependencies.nucgen]
version = "0.2.0"

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

[lints.clippy]
cast_possible_truncation = "allow"
cast_precision_loss = "allow"

[lints.clippy.pedantic]
level = "warn"
priority = -1

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