# 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.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/" 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", ] [profile.release] lto = true codegen-units = 1 panic = "abort" strip = true [[bench]] name = "propagate" harness = false [dependencies.chrono] version = "0.4.38" 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.5.1" [dev-dependencies.toml] version = "0.8.13" [dev-dependencies.ureq] version = "2.9.7" features = ["json"] [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", ]