-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
55 lines (50 loc) · 1.65 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
[package]
name = "mwa_giant_squid"
version = "1.1.0"
authors = [
"Christopher H. Jordan <[email protected]>",
"Harrison Barlow <[email protected]>",
"Dev Null <[email protected]>",
"Greg Sleap <[email protected]>",
]
edition = "2021"
rust-version = "1.70"
license = "MPL-2.0"
readme = "README.md"
description = "Alternative MWA ASVO client code"
repository = "https://github.com/MWATelescope/giant-squid"
homepage = "https://github.com/MWATelescope/giant-squid"
exclude = [".github/*"]
[features]
default = ["bin"]
bin = ["anyhow", "clap", "simplelog", "reqwest-retry", "task-local-extensions"]
[[bin]]
name = "giant-squid"
required-features = ["bin"]
[profile.release]
lto = "thin"
opt-level = 'z' # Optimize for size.
panic = 'abort'
[dependencies]
bytesize = "~1.3"
lazy_static = "~1.4"
log = "~0.4"
prettytable-rs = "~0.10"
reqwest = { version = "0.12", default-features = false, features = ["blocking", "cookies", "rustls-tls"] }
serde = { version = "~1.0", features = ["derive"] }
serde_json = "~1.0"
sha-1 = "~0.10"
tar = "~0.4"
tee_readwrite = "~0.2"
thiserror = "~1.0"
backoff = "~0.4"
# Dependencies only for the binary.
anyhow = { version = "~1.0", optional = true }
# Clap latest is 4.x which completely breaks everything and has a dep that needs MSRV 1.74
clap = { version = "3.2.23", features = ["derive"], optional = true }
simplelog = { version = "~0.12", optional = true }
reqwest-retry = { version = "~0.5", optional = true }
task-local-extensions = { version = "~0.1", optional = true }
time = { version = "~0.3", optional = true }
time-core = { version = "~0.1", optional = true }
deranged = {version = "~0.3"}