# 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.87.0"
name = "fgumi-sort"
version = "0.4.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "High-performance external merge-sort engine for BAM files"
readme = "README.md"
keywords = [
    "bioinformatics",
    "bam",
    "sort",
    "sequencing",
    "ngs",
]
categories = [
    "command-line-utilities",
    "science",
]
license = "MIT"
repository = "https://github.com/fulcrumgenomics/fgumi"
resolver = "2"

[features]
default = []
memory-debug = []

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

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

[dependencies.ahash]
version = "0.8"

[dependencies.anyhow]
version = "1.0.102"

[dependencies.bstr]
version = "1.12.1"

[dependencies.bytemuck]
version = "1.14"
features = ["derive"]

[dependencies.bytes]
version = "1"

[dependencies.bytesize]
version = "2.3"

[dependencies.crossbeam-channel]
version = "0.5"

[dependencies.crossbeam-queue]
version = "0.3"

[dependencies.crossbeam-utils]
version = "0.8.21"

[dependencies.fgumi-bam-io]
version = "0.4.0"

[dependencies.fgumi-bgzf]
version = "0.4.0"

[dependencies.fgumi-raw-bam]
version = "0.4.0"
features = ["noodles"]

[dependencies.fs4]
version = "1.1"
features = ["sync"]
default-features = false

[dependencies.libdeflater]
version = "1.22"

[dependencies.libmimalloc-sys]
version = "0.1.44"
features = ["extended"]

[dependencies.log]
version = "0"

[dependencies.noodles]
version = "0.111.0"
features = [
    "bam",
    "sam",
    "core",
    "csi",
]

[dependencies.noodles-bgzf]
version = "0.47.0"
features = ["libdeflate"]

[dependencies.parking_lot]
version = "0.12"

[dependencies.rayon]
version = "1.10"

[dependencies.tempfile]
version = "3.3.0"

[dependencies.zstd]
version = "0.13"

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

[dev-dependencies.fgumi-bam-io]
version = "0.4.0"

[dev-dependencies.fgumi-raw-bam]
version = "0.4.0"
features = [
    "test-utils",
    "noodles",
]

[dev-dependencies.fgumi-sam]
version = "0.4.0"

[dev-dependencies.proptest]
version = "1.10"

[dev-dependencies.rstest]
version = "0"

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

[target.'cfg(target_os = "linux")'.dependencies.nix]
version = "0.31"
features = ["fs"]
default-features = false

[target.'cfg(target_os = "macos")'.dependencies.mach2]
version = "0.6"

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