-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathCargo.toml
147 lines (126 loc) · 4.04 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
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
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
[package]
name = "mwa_hyperdrive"
version = "0.4.2"
authors = [
"Christopher H. Jordan <christopherjordan87@gmail.com>",
"Dev Null <dev.null@curtin.edu.au>",
]
edition = "2021"
rust-version = "1.68"
license = "MPL-2.0"
readme = "README.md"
description = "Calibration software for the Murchison Widefield Array (MWA) radio telescope"
repository = "https://github.com/MWATelescope/mwa_hyperdrive"
homepage = "https://mwatelescope.github.io/mwa_hyperdrive"
exclude = [".github/*", "test_files/*", "examples/*", "mdbook/*"]
[profile.release]
panic = "abort"
codegen-units = 256
[profile.production]
inherits = "release"
lto = "thin"
codegen-units = 1
[profile.bench]
inherits = "production"
[features]
default = ["plotting"]
# Use CUDA code with double-precision floats.
cuda = ["mwa_hyperbeam/cuda", "cuda-runtime-sys", "cc"]
# Use HIP code with double-precision floats.
hip = ["mwa_hyperbeam/hip", "hip-sys", "cc"]
# Opt-out of GPU double precision, use only single precision (faster on desktop
# GPUs).
gpu-single = ["mwa_hyperbeam/gpu-single"]
# Enable plotting.
plotting = ["plotters"]
# Use dlopen to find libfontconfig at runtime.
fontconfig-dlopen = ["plotters/fontconfig-dlopen"]
# Compile cfitsio statically and link it
cfitsio-static = ["fitsio-sys/fitsio-src"]
# Compile HDF5 statically and link it
hdf5-static = ["mwa_hyperbeam/hdf5-static"]
# Link CUDA statically
cuda-static = ["mwa_hyperbeam/cuda-static"]
# Link all C dependencies statically
all-static = ["hdf5-static", "cfitsio-static", "cuda-static"]
[dependencies]
birli = { version = "0.11.0", default-features = false }
bytemuck = "1.13.1"
byteorder = "1.4.3"
cfg-if = "1.0.0"
chrono = "0.4.0"
clap = { version = "3.1.0", features = ["derive", "wrap_help"] }
console = "0.15.0"
crossbeam-channel = "0.5.8"
crossbeam-utils = "0.8.15"
env_logger = "0.10.0"
fitsio = "0.20.0"
fitsio-sys = "0.4.0"
flate2 = "1.0.13"
glob = "0.3.0"
hifitime = "3.8.2"
indexmap = { version = "1.8.0", features = ["rayon", "serde"] }
is-terminal = "0.4.0"
itertools = "0.10.0"
indicatif = { version = "0.17.5", features = ["rayon"] }
lazy_static = "1.4.0"
log = "0.4.0"
marlu = { version = "0.11.0", features = ["serde"] }
mwa_hyperbeam = "0.9.3"
mwalib = "1.3.3"
ndarray = { version = "0.15.4", features = ["rayon"] }
num-complex = "0.4.1"
num-traits = "0.2.15"
rayon = "1.5.0"
regex = "1.4.6"
scopeguard = "1.1.0"
serde = { version = "1.0.103", features = ["derive"] }
serde_json = "1.0.0"
serde_yaml = "0.9.21"
static_assertions = "1.1.0"
strum = "0.24.0"
strum_macros = "0.24.0"
thiserror = "1.0.7"
toml = "0.7.2"
# TODO: bump vec1 after msrv update
vec1 = { version = "~1.10.0", features = ["serde"] }
# "cuda" feature
cuda-runtime-sys = { version = "0.3.0-alpha.1", optional = true }
# "hip" feature
hip-sys = { version = "0.1.0", optional = true }
# "plotting" feature
plotters = { version = "0.3.5", default-features = false, features = [
"bitmap_backend",
"bitmap_encoder",
"point_series",
"ttf",
], optional = true }
[dev-dependencies]
approx = "0.5.1"
assert_cmd = "2.0.0" # warning: 2.0.14 requires Rust 1.73.0
criterion = { version = "0.4.0", default-features = false }
indoc = "2.0.1"
marlu = { version = "0.11.0", features = ["approx"] }
ndarray = { version = "0.15.4", features = ["approx-0_5"] }
serial_test = "2.0.0"
tar = "0.4.38"
tempfile = "3.6.0"
[build-dependencies]
built = { version = "~0.7", default-features = false, features = [
"chrono",
"git2",
] }
cc = { version = "1.0.72", features = ["parallel"], optional = true }
hip-sys = { version = "0.1.0", optional = true }
[[bench]]
name = "bench"
harness = false
[patch.crates-io]
# birli = { path = "../Birli" }
# birli = { git = "https://github.com/MWATelescope/Birli" }
# marlu = { path = "../Marlu" }
# marlu = { git = "https://github.com/MWATelescope/Marlu", branch = "v0.9.0" }
# mwalib = { path = "../mwalib" }
# mwalib = { git = "https://github.com/MWATelescope/mwalib" }
# mwa_hyperbeam = { path = "../mwa_hyperbeam" }
# mwa_hyperbeam = { git = "https://github.com/MWATelescope/mwa_hyperbeam", branch = "DUT1" }