Skip to content

Commit

Permalink
Merge pull request #16 from theJasonFan/main
Browse files Browse the repository at this point in the history
Make `seq_vector` a feature so that library compiles on Windows again
  • Loading branch information
rob-p authored Feb 27, 2023
2 parents ee1d13f + 47d7dd8 commit 15016e2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@ edition = "2021"
bit_field = "0.10"
serde = { version = "1.0", features = ["derive"] }
num = "0.4.0"
simple-sds = {git = "https://github.com/thejasonfan/simple-sds", branch = "serde_compat"}
simple-sds = {git = "https://github.com/thejasonfan/simple-sds", branch = "serde_compat", optional = true }

[features]
seq-vector = ["dep:simple-sds"]

[dev-dependencies]
criterion = "0.3"
Expand Down
3 changes: 3 additions & 0 deletions src/naive_impl/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ pub mod canonical_kmer_iterator;
mod kmer;

pub mod hash;

// Simple-sds does not compile on windows, so we make seq_vector an optional feature
#[cfg(feature = "seq-vector")]
pub mod seq_vector;

// re-exports
Expand Down

0 comments on commit 15016e2

Please sign in to comment.