-
Notifications
You must be signed in to change notification settings - Fork 27
/
Cargo.toml
75 lines (68 loc) · 2.63 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
[workspace]
resolver = "2"
members = [
"lib/cppbind/mmcore",
"lib/cppbind/mmimage",
"lib/cppbind/mmlens",
"lib/cppbind/mmscenegraph",
"lib/mmsolverlibs",
"lib/rust/mmcore",
"lib/rust/mmimage",
"lib/rust/mmscenegraph",
]
[workspace.package]
version = "0.1.0"
authors = ["david-cattermole <[email protected]>"]
edition = "2018"
publish = false
[workspace.dependencies]
anyhow = "1.0.89"
approx = "0.5.1"
argmin = { version = "0.10.0", default-features = true, features = ["serde1"] }
argmin-math = { version = "0.4", default-features = true, features = ["primitives", "vec", "ndarray_latest"] }
criterion = { version = "0.5.1", default-features = false, features = ["html_reports"] }
exr = "1.72.0"
fastapprox = "0.3.1"
finitediff = { version = "0.1.4", features = ["ndarray"] }
half = { version = "2.4.1", default-features = false, features = ["std", "num-traits"] }
log = "0.4.22"
nalgebra = { version = "0.33.1", default-features = false, features = ["std", "matrixmultiply"] }
ndarray = "0.15.6"
ndarray-linalg = { version = "0.16.0", features = ["intel-mkl-static"] }
num = "0.4.3"
num-traits = "0.2.19"
num_cpus = "1.16.0"
petgraph = { version = "0.6", default-features = false, features = ["stable_graph"] }
plotters = { version = "0.3.7", default-features = false, features = ["image", "bitmap_encoder", "bitmap_backend", "line_series", "ttf"] }
rand = { version = "0.8.5", default-features = false, features = ["std", "alloc", "small_rng"] }
rayon = "1.10.0"
rustc-hash = "2.0.0"
shellexpand = { version = "3.1", default-features = false, features = ["full"] }
smallvec = "1.13.2"
thiserror = "2.0.3"
# CXX is used to build C++ bindings.
#
# NOTE: When changing this version number ensure to also update the
# installed 'cxxbridge-cmd' version so it stays in sync; Update it
# here: './scripts/internal/build_mmSolverLibs_*.*'
cxx = "=1.0.129"
# Crates defined inside this project.
mmcore_cppbind = { path = "./lib/cppbind/mmcore" }
mmcore_rust = { path = "./lib/rust/mmcore" }
mmimage_cppbind = { path = "./lib/cppbind/mmimage" }
mmimage_rust = { path = "./lib/rust/mmimage" }
mmlens_cppbind = { path = "./lib/cppbind/mmlens" }
mmlens_rust = { path = "./lib/rust/mmlens" }
mmscenegraph_cppbind = { path = "./lib/cppbind/mmscenegraph" }
mmscenegraph_rust = { path = "./lib/rust/mmscenegraph/" }
[profile.release]
opt-level = 3
rpath = false
codegen-units = 1
# 'lto = true' Performs "fat" LTO which attempts to perform
# optimizations across all crates within the dependency graph.
lto = true
# NOTE: If we use 'panic = "abort"' then we are unable to produce tests.
# # https://github.com/rust-lang/cargo/issues/6313
#
# panic = "abort"