Repository navigation
Expand file tree
/
Copy pathCargo.toml
More file actions
105 lines (87 loc) · 3.04 KB
/
Copy pathCargo.toml
File metadata and controls
105 lines (87 loc) · 3.04 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
[package]
name = "backstaff"
version = "0.3.0"
authors = ["Lars Frogner <lars.frogner@astro.uio.no>"]
description = "A flexible toolkit for working with Bifrost simulations"
edition = "2021"
default-run = "backstaff"
[features]
default = ["cli", "statistics"]
cli = ["dep:chrono", "dep:clap", "dep:clap_complete"]
command-graph = ["cli", "dep:petgraph"]
statistics = ["cli", "dep:float-pretty-print", "dep:ndarray-stats", "dep:noisy_float", "dep:pad"]
derivation = []
serialization = ["dep:serde", "ndarray/serde"]
python = ["dep:pyo3", "dep:numpy"]
json = ["serialization", "dep:serde_json"]
pickle = ["serialization", "dep:serde-pickle"]
netcdf = ["dep:netcdf-rs"]
hdf5 = ["dep:hdf5-rs", "dep:regex"]
seeding = ["dep:rand"]
corks = ["seeding"]
tracing = ["seeding"]
ebeam = ["tracing", "dep:rand", "dep:special", "dep:ndarray-npy"]
synthesis = ["derivation", "python", "dep:roman"]
for-testing = ["dep:approx"]
all-non-testing = [
"cli", "command-graph", "statistics", "serialization", "python",
"json", "pickle", "netcdf", "hdf5", "seeding", "corks", "tracing",
"ebeam", "synthesis"
]
[dependencies]
# Dependencies for core
atomic-counter = "*"
atty = "*"
byteorder = "*"
ctrlc = {version = "*", features = ["termination"]}
ieee754 = "*"
indicatif = {version = "*", features = ["rayon"]}
lazy_static = "*"
ndarray = { version = "*", features = ["rayon"] }
num = "*"
paste = "*"
rayon = "*"
regex = "*"
sysinfo = { version = "*", default-features = false }
tempfile = "*"
quit = "*"
# Dependencies for cli
chrono = { version = "*", optional = true }
clap = { version = ">=3.0.0", features = ["default", "cargo"], optional = true }
clap_complete = { version = "*", optional = true }
# Dependencies for command-graph
petgraph = { version = "*", features = [], optional = true }
# Dependencies for statistics
float-pretty-print = { version = "*", optional = true }
ndarray-stats = { version = "*", optional = true }
noisy_float = { version = "*", optional = true }
pad = { version = "*", optional = true }
# Dependencies for serialization
serde = { version = "*", features = ["derive"], optional = true }
# Dependencies for python
pyo3 = { version = "*", features = ["auto-initialize"], optional = true }
numpy = { version = "*", optional = true }
# Dependencies for json
serde_json = { version = "*", optional = true }
# Dependencies for pickle
serde-pickle = { version = "*", optional = true }
# Dependencies for netcdf
netcdf-rs = { package = "netcdf", version = "*", optional = true }
# Dependencies for hdf5
hdf5-rs = { package = "hdf5", version = "*", optional = true }
# Dependencies for ebeam
special = { version = "*", optional = true }
ndarray-npy = { version = "*", optional = true }
# Dependency for seeding and ebeam
rand = { version = "*", optional = true }
# Dependencies for synthesis
roman = { version = "*", optional = true }
# Dependencies for for-testing
approx = { version = "*", optional = true }
[build-dependencies]
regex = { version = "*", optional = true }
[profile.release-lto]
inherits = "release"
lto = "thin"
[profile.test.package."*"]
opt-level = 3