-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathCargo.toml
More file actions
127 lines (101 loc) · 2.89 KB
/
Copy pathCargo.toml
File metadata and controls
127 lines (101 loc) · 2.89 KB
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
116
117
118
119
120
121
122
123
124
125
126
127
[package]
name = "sassy"
version = "0.2.4"
default-run = "sassy"
edition = "2024"
authors = ["Rick Beeloo", "Ragnar Groot Koerkamp"]
description = "Approximate string matching using SIMD"
repository = "https://github.com/RagnarGrootKoerkamp/sassy"
license = "MIT"
keywords = ["bioinformatics", "string", "fuzzy", "search", "simd"]
readme = "README.md"
categories = ["science"]
rust-version = "1.91"
[lib]
name = "sassy"
crate-type = ["cdylib", "rlib"]
[profile.release]
incremental = true
opt-level = 3
debug = true
[profile.dist]
inherits = 'release'
incremental = false
codegen-units = 1
lto = true
debug = false
[package.metadata.multivers.x86_64]
cpus = ["x86-64-v3", "x86-64-v4"]
[[bin]]
name = 'sassy'
path = 'bin/main.rs'
required-features = ["cli"]
[[bin]]
name = "gen_stubs"
path = "src/bin/gen_stubs.rs"
required-features = ["python-stubs"]
[[example]]
name = 'modes'
required-features = ["cli"]
[[example]]
name = 'all_vs_all_barcodes'
required-features = ["cli"]
[dependencies]
pa-types = "1.5.0"
log = "0.4.27"
either = "1.15.0"
wide = "1.1.1"
ensure_simd = "0.1.0"
rayon = "1.11.0"
itertools = "0.14.0"
derivative = "2.2.0"
memchr = "2.8.1"
arrayvec = "0.7.6"
# Optional: CLI binary dependencies
clap = { version = "4.5.37", features = ["derive"], optional = true }
needletail = { version = "0.7.1", optional = true }
env_logger = { version = "0.11.8", optional = true }
num_cpus = { version = "1.16.0", optional = true }
colored = { version = "3.0.0", optional = true }
# Optional: diagnostic functions (test_throughput, test_cpu_features)
rand = { version = "0.10.0", optional = true }
# Optional: Python bindings
pyo3 = { version = "0.28", features = [
"extension-module",
"abi3-py38",
"generate-import-lib",
"experimental-inspect",
], optional = true }
# Optional: Python stub generation via pyo3-introspection
pyo3-introspection = { version = "0.28", optional = true }
[dev-dependencies]
tempfile = "3.20.0"
packed-seq = "4.3.0"
rand = "0.10.0"
criterion = { version = "0.8", features = ["html_reports"] }
[target.'cfg(all(target_os = "linux", target_arch = "x86_64"))'.dev-dependencies]
perfcnt = "0.8.0"
[features]
default = ["cli", "diagnostics"]
# CLI binary and pretty-printing support
cli = ["clap", "needletail", "env_logger", "num_cpus", "colored"]
# Diagnostic functions (test_throughput, test_cpu_features) that depend on rand
diagnostics = ["rand"]
# Enable AVX-512 variant of version 1.
# Not enabled by default, since it's not faster.
# V2 automatically uses AVX-512 based on compile-time feature detection of the target cpu.
avx512 = []
python = ["pyo3"]
python-stubs = ["pyo3-introspection"]
c = []
# Build the library with scalar types, with reduced performance.
# Without this, it requires either AVX2 or NEON to be available at compile time.
scalar = ["ensure_simd/scalar"]
[workspace]
members = [".", "evals"]
[[bench]]
name = "perf"
harness = false
[[bench]]
name = "ipc"
harness = false