-
Notifications
You must be signed in to change notification settings - Fork 76
/
Cargo.toml
115 lines (100 loc) · 2.83 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
[package]
name = "sourmash"
version = "0.13.0"
authors = ["Luiz Irber <luiz.irber@gmail.com>"]
description = "MinHash sketches for genomic data"
repository = "https://github.com/sourmash-bio/sourmash"
keywords = ["minhash", "bioinformatics"]
categories = ["science", "algorithms", "data-structures"]
license = "BSD-3-Clause"
edition = "2021"
readme = "README.md"
autoexamples = false
autobins = false
rust-version = "1.65.0"
[lib]
name = "sourmash"
crate-type = ["lib", "staticlib", "cdylib"]
bench = false
[features]
from-finch = ["finch"]
parallel = ["rayon"]
maturin = []
branchwater = ["rocksdb", "rkyv", "parallel"]
default = []
[dependencies]
az = "1.0.0"
byteorder = "1.4.3"
camino = { version = "1.1.6", features = ["serde1"] }
cfg-if = "1.0"
counter = "0.5.7"
csv = "1.3.0"
enum_dispatch = "0.3.12"
finch = { version = "0.6.0", optional = true }
fixedbitset = "0.4.0"
getrandom = { version = "0.2", features = ["js"] }
getset = "0.1.1"
histogram = "0.9.1"
itertools = "0.12.1"
log = "0.4.21"
md5 = "0.7.0"
memmap2 = "0.9.4"
murmurhash3 = "0.0.5"
niffler = { version = "2.3.1", default-features = false, features = [ "gz" ] }
nohash-hasher = "0.2.0"
num-iter = "0.1.44"
once_cell = "1.18.0"
ouroboros = "0.18.3"
piz = "0.5.0"
primal-check = "0.3.1"
rayon = { version = "1.9.0", optional = true }
rkyv = { version = "0.7.44", optional = true }
roaring = "0.10.3"
roots = "0.0.8"
serde = { version = "1.0.197", features = ["derive"] }
serde_json = "1.0.114"
statrs = "0.16.0"
streaming-stats = "0.2.3"
thiserror = "1.0"
twox-hash = "1.6.0"
typed-builder = "0.18.0"
vec-collections = "0.4.3"
[dev-dependencies]
criterion = "0.5.1"
needletail = { version = "0.5.1", default-features = false }
proptest = { version = "1.4.0", default-features = false, features = ["std"]}
rand = "0.8.2"
tempfile = "3.10.1"
[[bench]]
name = "compute"
harness = false
[[bench]]
name = "nodegraph"
harness = false
[[bench]]
name = "minhash"
harness = false
[[bench]]
name = "gather"
harness = false
[package.metadata.cargo-all-features]
skip_optional_dependencies = true
denylist = ["maturin"]
skip_feature_sets = [
["branchwater", "parallel"], # branchwater implies parallel
]
## Wasm section. Crates only used for WASM, as well as specific configurations
[target.'cfg(all(target_arch = "wasm32", target_os="unknown"))'.dependencies.wasm-bindgen]
version = "0.2.89"
features = ["serde-serialize"]
[target.'cfg(all(target_arch = "wasm32", target_os="unknown"))'.dependencies.web-sys]
version = "0.3.69"
features = ["console", "File"]
[target.'cfg(all(target_arch = "wasm32"))'.dependencies.chrono]
version = "0.4.32"
features = ["wasmbind"]
[target.'cfg(all(target_arch = "wasm32", target_os="unknown"))'.dev-dependencies]
wasm-bindgen-test = "0.3.42"
### These crates don't compile on wasm
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
rocksdb = { version = "0.21.0", optional = true }