-
Notifications
You must be signed in to change notification settings - Fork 20
/
Cargo.toml
60 lines (54 loc) · 1.46 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
[package]
name = "sgp4"
version = "2.2.0"
authors = [
"International Centre for Neuromorphic Systems",
"Alexandre Marcireau",
]
description = "A pure Rust implementation of the SGP4 algorithm for satellite propagation"
homepage = "https://github.com/neuromorphicsystems/sgp4/"
repository = "https://github.com/neuromorphicsystems/sgp4/"
readme = "README.md"
license = "MIT"
categories = [
"aerospace",
"algorithms",
"no-std",
"parser-implementations",
"science",
]
keywords = ["SGP4", "SDP4", "TLE", "OMM"]
edition = "2021"
resolver = "2"
[dependencies]
chrono = {version = "0.4.38", default-features = false}
serde = {version = "1.0", default-features = false, optional = true}
serde_json = {version = "1.0", default-features = false, optional = true}
num-traits = {version = "0.2.19", default-features = false, optional = true}
[dev-dependencies]
anyhow = {version = "1.0", default-features = false}
criterion = "0.5.1"
toml = "0.8.13"
ureq = {version = "2.9.7", features = ["json"]}
[package.metadata.docs.rs]
rustdoc-args = ["--cfg", "docsrs"]
[features]
default = ["alloc", "std", "serde"]
alloc = []
serde = [
"alloc",
"chrono/serde",
"serde/alloc",
"serde/derive",
"serde_json/alloc",
]
std = ["alloc", "anyhow/std", "chrono/std", "serde?/std", "serde_json?/std"]
libm = ["dep:num-traits", "num-traits/libm"]
[[bench]]
name = "propagate"
harness = false
[profile.release]
panic = "abort"
codegen-units = 1
lto = true
strip = true