# 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"
name = "bsalign"
version = "0.9.4"
authors = ["dwpeng"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust bindings for the bsalign C library"
homepage = "https://github.com/dwpeng/bsalign-rs"
readme = "README.md"
keywords = [
    "alignment",
    "bioinformatics",
    "sequence",
    "bsalign",
    "poa",
]
categories = [
    "science",
    "api-bindings",
    "external-ffi-bindings",
]
license = "MIT"
repository = "https://github.com/dwpeng/bsalign-rs"
resolver = "2"

[features]
cli = [
    "dep:clap",
    "dep:noodles",
    "dep:anyhow",
]
default = []

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

[[bin]]
name = "bsalign"
path = "src/bin/bsalign.rs"
required-features = ["cli"]

[[example]]
name = "pairwise"
path = "examples/pairwise.rs"

[[example]]
name = "poa"
path = "examples/poa.rs"

[dependencies.anyhow]
version = "1.0.102"
optional = true

[dependencies.bsalign_sys]
version = "0.9.4"

[dependencies.clap]
version = "4.6.1"
features = ["derive"]
optional = true

[dependencies.noodles]
version = "0.110.0"
features = ["fasta"]
optional = true
