Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make the sourmash crate library-only (#812)
* fix test data paths * split draff and smrs out of sourmash * depend only on primal_check * move sourmash crate into src/core * add README for rust crate * update main README
- Loading branch information
Showing
44 changed files
with
233 additions
and
1,998 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,86 +1,5 @@ | ||
[package] | ||
name = "sourmash" | ||
version = "0.3.0" | ||
authors = ["Luiz Irber <luiz.irber@gmail.com>"] | ||
description = "MinHash sketches for genomic data" | ||
repository = "https://github.com/luizirber/sourmash-rust" | ||
keywords = ["minhash", "bioinformatics"] | ||
categories = ["science", "algorithms", "data-structures"] | ||
license = "BSD-3-Clause" | ||
edition = "2018" | ||
autoexamples = false | ||
autobins = false | ||
|
||
[lib] | ||
name = "sourmash" | ||
crate-type = ["cdylib", "rlib"] | ||
bench = false | ||
|
||
[profile.release] | ||
lto=true | ||
|
||
[features] | ||
from-finch = ["finch"] | ||
|
||
[workspace] | ||
|
||
#[build-dependencies] | ||
#cbindgen = "~0.6.7" | ||
|
||
[dependencies] | ||
byteorder = "1.3.2" | ||
cfg-if = "0.1.10" | ||
clap = { version = "2.33.0", features = ["yaml"] } | ||
env_logger = "0.7.1" | ||
exitfailure = "0.5.1" | ||
failure = "0.1.6" | ||
failure_derive = "0.1.6" | ||
finch = { version = "0.3.0", optional = true } | ||
fixedbitset = "0.2.0" | ||
log = "0.4.8" | ||
md5 = "0.7.0" | ||
murmurhash3 = "0.0.5" | ||
once_cell = "1.2.0" | ||
serde = "1.0.103" | ||
serde_derive = "1.0.103" | ||
serde_json = "1.0.44" | ||
#ukhs = { git = "https://github.com/luizirber/ukhs", branch = "feature/alternative_backends", features = ["boomphf_mphf"], default-features = false} | ||
primal = "0.2.3" | ||
#pdatastructs = { git = "https://github.com/luizirber/pdatastructs.rs", branch = "succinct_wasm" } | ||
itertools = "0.8.2" | ||
typed-builder = "0.4.0" | ||
csv = "1.1.1" | ||
tempfile = "3.1.0" | ||
|
||
[dependencies.needletail] | ||
version = "0.3.2" | ||
default-features = false | ||
#features = ["compression"] | ||
|
||
[target.'cfg(all(target_arch = "wasm32", target_vendor="unknown"))'.dependencies.wasm-bindgen] | ||
version = "0.2.55" | ||
features = ["serde-serialize"] | ||
|
||
[target.'cfg(not(all(target_arch = "wasm32", target_vendor="unknown")))'.dependencies.niffler] | ||
version = "1.0" | ||
default-features = false | ||
|
||
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies] | ||
proptest = "0.9.4" | ||
|
||
[dev-dependencies] | ||
criterion = "0.3.0" | ||
rand = "0.7.2" | ||
tempfile = "3.1.0" | ||
assert_matches = "1.3.0" | ||
assert_cmd = "0.12.0" | ||
predicates = "1.0.2" | ||
|
||
[[bench]] | ||
name = "index" | ||
harness = false | ||
|
||
[[bin]] | ||
name = "smrs" | ||
path = "src/bin/smrs.rs" | ||
bench = false | ||
members = [ | ||
"src/core", | ||
] | ||
default-members = ["src/core"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.