Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 28 additions & 20 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ flate2 = { version = "1.1", features = ["zlib-rs"], optional = true }
zstd = { version = "0.13", optional = true }
gzp = { version = "2.0", default-features = false, features = ["deflate_rust"], optional = true }
minreq = { version = "2", features = ["https-rustls-probe"], optional = true }
ensure_simd = "0.1.0"

[lints.clippy]
too_many_arguments = "allow"
Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ RUSTFLAGS="-C target-cpu=native" cargo install deacon
> [!IMPORTANT]
> Cargo installation requires Rust 1.88 or newer. Update using `rustup update`.

See [here](https://github.com/ragnargrootkoerkamp/ensure_simd) for
details on `target-cpu=native`.

### Docker [![Crates.io version](https://img.shields.io/badge/install%20with-docker-important.svg?style=flat-square&logo=docker)](https://biocontainers.pro/tools/deacon)

```bash
Expand Down
3 changes: 3 additions & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,9 @@ fn main() -> Result<()> {
);
}

// If the binary was compiled with AVX2, check that the machine supports it at runtime.
ensure_simd::ensure_simd();

let cli = Cli::parse();

if let Commands::Server { command } = &cli.command {
Expand Down