-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
113 lines (88 loc) · 2.9 KB
/
Cargo.toml
File metadata and controls
113 lines (88 loc) · 2.9 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
[package]
name = "cgdist"
version = "0.1.0"
edition = "2021"
description = "Ultra-fast SNP/indel-level distance calculator for core genome MLST analysis"
authors = [
"Andrea de Ruvo <andrea.deruvo@gssi.it>",
"Pierluigi Castelli <p.castelli@izs.it>",
"Andrea Bucciacchio <a.bucciacchio@izs.it>",
"Iolanda Mangone <i.mangone@izs.it>",
"Verónica Mixão <veronica.mixao@insa.min-saude.pt>",
"Vítor Borges <vitor.borges@insa.min-saude.pt>",
"Michele Flammini <michele.flammini@gssi.it>",
"Nicolas Radomski <n.radomski@izs.it>",
"Adriano Di Pasquale <a.dipasquale@izs.it>"
]
license = "MIT"
repository = "https://github.com/genpat-it/cgDist"
keywords = ["bioinformatics", "genomics", "mlst", "alignment", "distance"]
categories = ["science", "command-line-utilities"]
# ============================================================================
# DEPENDENCIES - ONLY WHAT'S NEEDED FOR cgdist.rs
# ============================================================================
[dependencies]
# Core alignment engine
parasail-rs = "0.7.8"
# Parallel processing
rayon = "1.8"
# CLI parsing
argh = "0.1"
clap = "4.4"
# Progress indicators
indicatif = "0.17"
# FASTA/sequence I/O
bio = "1.6"
# Fast CRC32 computation
crc32fast = "1.4"
# Serialization for caching
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
bincode = "1.3"
# LZ4 compression for cache
lz4_flex = "0.11"
# MessagePack serialization
rmp-serde = "1.1"
# Timestamps for logging
chrono = { version = "0.4", features = ["serde"] }
# Regular expressions for filtering
regex = "1.11"
# CSV file I/O for recombination logs
csv = "1.3"
# TOML configuration file support
toml = "0.8"
# Additional hashers for plugin system
sha2 = "0.10"
md5 = "0.7"
# ============================================================================
# PERFORMANCE OPTIMIZATION
# ============================================================================
[profile.release]
opt-level = 3 # Maximum optimization
lto = true # Link-time optimization
codegen-units = 1 # Single codegen unit for better optimization
panic = "abort" # Smaller binary size
strip = true # Strip debug symbols
[profile.release.build-override]
opt-level = 3
# ============================================================================
# BINARY CONFIGURATION
# ============================================================================
[[bin]]
name = "cgdist"
path = "src/main.rs"
[[bin]]
name = "inspector"
path = "src/inspector.rs"
[[bin]]
name = "recombination_analyzer"
path = "src/bin/recombination_analyzer.rs"
# ============================================================================
# FEATURES (OPTIONAL)
# ============================================================================
[features]
default = []
# Enable additional statistics and debugging
debug-stats = []
# Enable memory profiling
memory-profiling = []