sgp4 2.4.0

A pure Rust implementation of the SGP4 algorithm for satellite propagation
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
name = "sgp4"
version = "2.4.0"
authors = [
    "International Centre for Neuromorphic Systems",
    "Alexandre Marcireau",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A pure Rust implementation of the SGP4 algorithm for satellite propagation"
homepage = "https://github.com/neuromorphicsystems/sgp4/"
readme = "README.md"
keywords = [
    "SGP4",
    "SDP4",
    "TLE",
    "OMM",
]
categories = [
    "aerospace",
    "algorithms",
    "no-std",
    "parser-implementations",
    "science",
]
license = "MIT"
repository = "https://github.com/neuromorphicsystems/sgp4/"
resolver = "2"

[package.metadata.docs.rs]
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
alloc = []
default = [
    "alloc",
    "std",
    "serde",
]
libm = [
    "dep:num-traits",
    "num-traits/libm",
]
serde = [
    "alloc",
    "chrono/serde",
    "serde/alloc",
    "serde/derive",
    "serde_json/alloc",
]
std = [
    "alloc",
    "anyhow/std",
    "chrono/std",
    "serde?/std",
    "serde_json?/std",
]

[lib]
name = "sgp4"
path = "src/lib.rs"

[[example]]
name = "advanced"
path = "examples/advanced.rs"

[[example]]
name = "celestrak"
path = "examples/celestrak.rs"

[[example]]
name = "omm"
path = "examples/omm.rs"

[[example]]
name = "space-track"
path = "examples/space-track.rs"

[[example]]
name = "tle"
path = "examples/tle.rs"

[[example]]
name = "tle_afspc"
path = "examples/tle_afspc.rs"

[[test]]
name = "propagate"
path = "tests/propagate.rs"

[[test]]
name = "test_cases"
path = "tests/test_cases.rs"

[[bench]]
name = "propagate"
path = "benches/propagate.rs"
harness = false

[dependencies.chrono]
version = "0.4.43"
default-features = false

[dependencies.num-traits]
version = "0.2.19"
optional = true
default-features = false

[dependencies.serde]
version = "1.0"
optional = true
default-features = false

[dependencies.serde_json]
version = "1.0"
optional = true
default-features = false

[dev-dependencies.anyhow]
version = "1.0"
default-features = false

[dev-dependencies.criterion]
version = "0.8.2"

[dev-dependencies.toml]
version = "1.0.3"

[dev-dependencies.ureq]
version = "3.2.0"
features = ["json"]

[profile.release]
lto = true
codegen-units = 1
panic = "abort"
strip = true