-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
48 lines (41 loc) · 2.76 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
[package]
name = "walky"
version = "1.1.0"
edition = "2021"
description = "A TSP solver written in Rust"
homepage = "https://github.com/lquenti/walky"
repository = "https://github.com/lquenti/walky"
license = "MIT"
authors = ["Lars Quentin <[email protected]>", "Johann Carl Meyer <[email protected]>"]
readme = "./README.md"
exclude = [
"benchmarks/*",
"utils/*",
"technical-report/*"
]
[dependencies]
clap = {version = "4.2.5", features = ["derive"]} # for cli arg parsing
quick-xml = {version = "0.28.2", features = ["serialize"]} # for xml-parsing
serde = {version = "1.0.160", features = ["derive"]} # for xml-parsing
delegate = "0.9.0" # for easy wrapper implementations
rayon = "1.7.0" # for parallel iterators + scoped threads
ordered-float = {version = "3.7.0", features = ["serde"]} # for Total Ordering on floats
priority-queue = "1.3.1" # for prims algorithm
nalgebra = {version = "0.32", features = ["rayon"]} # for fast matrices
lazy_static = "1.4.0" # for non-compile time global variables
rustc-hash = "1.1.0" # for cryptographically insecure, FAST hashing
mpi = {version = "0.6", optional = true, features = ["user-operations", "derive"]} # for MPI crate feature
rand = "0.8" # You wouldn't guess it
# Explaination for scoped threads: <https://docs.rs/crossbeam/latest/crossbeam/thread/index.html#why-scoped-threads>
# in our case, it reduces the need to copy everything in order to provide a sufficient lifetime
[dev-dependencies]
approx = "0.5.1" # for assertions with float values
quickcheck = "1.0.3" # for property based testing
quickcheck_macros = "1.0.0" # for property based testing
[profile.release]
debug = true # enable profiling in release builds
opt-level = 3 # -O3
lto = true # LLVM Link Time Optimization
codegen-units = 1 # Slower compile time, better performance
[features]
benchmarking = []