[package]
edition = "2021"
rust-version = "1.74"
name = "fastx-io"
version = "0.3.0"
build = false
exclude = ["/.github"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Fast, streaming FASTA/FASTQ reader and writer for bioinformatics pipelines"
documentation = "https://docs.rs/fastx-io"
readme = "README.md"
keywords = [
"fasta",
"fastq",
"bioinformatics",
"sequence",
"genomics",
]
categories = [
"science",
"parser-implementations",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/ScioFuturum/fastx"
[package.metadata.docs.rs]
all-features = true
[features]
default = ["gzip"]
full = [
"gzip",
"parallel",
"zstd",
"libdeflate",
]
gzip = ["flate2"]
libdeflate = [
"gzip",
"dep:libdeflater",
]
parallel = ["rayon"]
zstd = ["dep:zstd"]
[lib]
name = "fastx"
path = "src/lib.rs"
[[bin]]
name = "fastx"
path = "src/bin/fastx.rs"
[[example]]
name = "gc_content"
path = "examples/gc_content.rs"
[[example]]
name = "kmer_count"
path = "examples/kmer_count.rs"
[[example]]
name = "parallel_stats"
path = "examples/parallel_stats.rs"
[[example]]
name = "trim_and_convert"
path = "examples/trim_and_convert.rs"
[[test]]
name = "cli"
path = "tests/cli.rs"
[[test]]
name = "integration"
path = "tests/integration.rs"
[[test]]
name = "property"
path = "tests/property.rs"
[[bench]]
name = "throughput"
path = "benches/throughput.rs"
harness = false
[dependencies.flate2]
version = "1.0"
optional = true
[dependencies.libdeflater]
version = "1.24"
optional = true
[dependencies.memchr]
version = "2.7"
[dependencies.rayon]
version = "1.10"
optional = true
[dependencies.zstd]
version = "0.13"
optional = true
[dev-dependencies.criterion]
version = "0.5"
features = ["cargo_bench_support"]
default-features = false
[dev-dependencies.proptest]
version = "1"
[profile.release]
opt-level = 3
lto = "thin"
codegen-units = 1