/
Cargo.toml
50 lines (42 loc) · 1.43 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
[package]
name = "astro-rs"
version = "0.1.1"
edition = "2021"
rust-version = "1.68.2"
license = "MIT"
description = "Astronomy utils"
repository = "https://github.com/eta077/astro-rs"
readme = "README.md"
keywords = ["astronomy", "astrophysics", "fits", "utility"]
categories = ["aerospace", "data-structures", "parser-implementations", "science"]
exclude = [
".github",
"assets",
]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[dependencies]
hifitime = { version = "3.9", optional = true }
once_cell = { version = "1.19", optional = true }
regex = { version = "1.7", optional = true }
reqwest = { version = "0.12", optional = true }
rust_decimal = { version = "1.33" }
thiserror = { version = "1.0.7" }
uom = { version = "0.36", optional = true, default-features = false, features = ["autoconvert", "si", "std", "f64"] }
urlencoding = { version = "2.1", optional = true }
[dev-dependencies]
criterion = { version = "0.5", features = ["html_reports"] }
image = { version = "0.25", default-features = false, features = ["jpeg"] }
tokio-test = { version = "0.4" }
[features]
default = ["coordinates", "fits"]
coordinates = ["dep:hifitime", "dep:once_cell", "dep:regex", "dep:reqwest", "dep:uom", "dep:urlencoding"]
cosmology = []
fits = []
[[bench]]
name = "fits_benchmark"
harness = false
[profile.bench]
debug = true