-
Notifications
You must be signed in to change notification settings - Fork 15
/
Cargo.toml
75 lines (64 loc) · 1.78 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
[package]
name = "minimap2"
version = "0.1.22+minimap2.2.28"
edition = "2021"
authors = ["Joseph Guhlin <joseph.guhlin@gmail.com>"]
license = "MIT OR Apache-2.0"
description = "Bindings to libminimap2"
repository = "https://github.com/jguhlin/minimap2-rs"
categories = ["science"]
keywords = ["bioinformatics", "fasta", "alignment", "fastq"]
exclude = [
"**/*.fasta",
"*.profdata",
"*.mmi",
"**/*.mmi",
"/minimap2-sys/",
"/minimappers2/",
"/fakeminimap2",
"/test_data/",
".*",
]
[workspace]
members = []
exclude = ["minimappers2", "fakeminimap2", "minimap2-sys"]
[dependencies]
libc = "0.2"
# simdutf8 = { version = "0.1", optional = true }
needletail = { version = "0.6", optional = true, default-features = false}
# Dep for development
minimap2-sys = { path = "./minimap2-sys", version = "0.1.20+minimap2.2.28" }
# minimap2-sys = "0.1.19"
rust-htslib = { version = "0.48", default-features = false, optional = true }
[dev-dependencies]
rayon = "1.10"
crossbeam = "0.8.4"
clap = { version = "4.5.21", features = ["derive"] }
needletail = { version = "0.6", default-features = false}
# The end-user should decide this...
# [profile.release]
# opt-level = 3
# lto = "fat"
# codegen-units = 1
# [profile.dev.package."*"]
# opt-level = 3
[features]
default = ["map-file"]
map-file = ["needletail"] #, "simdutf8"]
htslib = ['rust-htslib']
simde = ["minimap2-sys/simde"]
zlib-ng = ["minimap2-sys/zlib-ng"]
curl = ["rust-htslib/curl"]
static = ["minimap2-sys/static", "rust-htslib/static"]
sse2only = ["minimap2-sys/sse2only"]
# rust-threads = ["minimap2-sys/rust-threads"]
[package.metadata.docs.rs]
features = ["map-file", "htslib"]
[[example]]
name = "channels"
path = "examples/channels.rs"
doc-scrape-examples = true
[[example]]
name = "rayon"
path = "examples/rayon.rs"
doc-scrape-examples = true