forked from nanoporetech/fast-ctc-decode
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
38 lines (32 loc) · 945 Bytes
/
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
[package]
name = "fast_ctc_decode"
version = "0.3.2"
authors = ["Vlado Boza <bozavlado@gmail.com>", "Chris Seymour <chris.seymour@nanoporetech.com>", "Jabari Holder <jholder@and.digital>"]
edition = "2018"
[lib]
name = "fast_ctc_decode"
crate-type = ["cdylib"]
[dependencies]
ndarray-stats = "0.5"
ndarray = { version = "0.15.3", features = ["serde"] }
# python build
pyo3 = { version = "0.14", features = ["extension-module"], optional = true }
numpy = { version = "0.14.1", optional = true }
# wasm build
wasm-bindgen = { version = "0.2.50", features = ["serde-serialize"] }
getrandom = { version = "0.2", features = ["js"] }
web-sys = "0.3.51"
js-sys = "0.3.51"
serde_json = "1.0.64"
serde_derive = "1.0.126"
serde = {version = "1.0.126", features = ["derive"]}
[features]
default = ["fastexp", "resolver", "wasm"]
wasm = []
python = ["pyo3", "numpy"]
fastexp = []
resolver = []
[profile.release]
lto=true
codegen-units=1
panic="abort"