# 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"
rust-version = "1.70"
name = "rebgzf"
version = "0.2.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Efficient gzip to BGZF transcoder using Puffin-style half-decompression"
homepage = "https://github.com/nh13/rebgzf"
documentation = "https://docs.rs/rebgzf"
readme = "README.md"
keywords = [
    "bioinformatics",
    "gzip",
    "bgzf",
    "transcoding",
    "deflate",
]
categories = [
    "command-line-utilities",
    "compression",
]
license = "MIT"
repository = "https://github.com/nh13/rebgzf"

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

[[bin]]
name = "rebgzf"
path = "src/bin/rebgzf.rs"

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

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

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

[dependencies.crc32fast]
version = "1.3"

[dependencies.crossbeam]
version = "0.8"

[dependencies.flate2]
version = "1.1"

[dependencies.libc]
version = "0.2.183"

[dependencies.memmap2]
version = "0.9.10"

[dependencies.num_cpus]
version = "1.16"

[dependencies.thiserror]
version = "2.0"

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

[dev-dependencies.flate2]
version = "1.1"

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

[profile.release]
lto = "fat"
codegen-units = 1
