Skip to content

Commit

Permalink
Expose rust-htslib features (#33)
Browse files Browse the repository at this point in the history
Disable networking in rust-htslib dependency, in order to avoid needing to build openssl-sys since instructions point to local files, not remote paths.

Also accounts for rust-htslib lzma feature needing bzip2 to be activated too.
  • Loading branch information
luiz10x authored Oct 11, 2021
1 parent 78e7af8 commit 778a0eb
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
10 changes: 10 additions & 0 deletions Cargo.lock

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

9 changes: 8 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,16 @@ edition = "2018"
include = ["src/**/*", "LICENSE", "README.md"]
resolver = "2"

[features]
default = ["bzip2", "lzma", "libdeflate"]
bzip2 = ["rust-htslib/bzip2"]
lzma = ["rust-htslib/lzma", "bzip2"]
libdeflate = ["rust-htslib/libdeflate"]
curl = ["rust-htslib/curl"]

[dependencies]
docopt = "*"
rust-htslib = "0.38"
rust-htslib = { version = "0.38", default-features = false }
flate2 = { version = "1.0", features = ["zlib"], default-features = false }
shardio = "0.8.1"
bincode = "1"
Expand Down

0 comments on commit 778a0eb

Please sign in to comment.