Some fixes for publication hygiene

This commit is contained in:
connor committed 2026-10-03 13:35:10 -04:00
1 parent 92a906a693
commit 3df549d317
2 files changed
+13 -9

No files matched your search

+11 -7
View File
@@ -7,24 +7,28 @@ description = "A highly performant astrodynamics engine"
readme = "readme.md"
repository = "https://git.rcjohnstone.com/connor/astrokit"
license = "MIT"
# The oldest toolchain this is tested against, not the oldest it might compile on.
rust-version = "1.89"
keywords = ["astrodynamics", "orbit", "propagation", "spaceflight"]
categories = ["science", "aerospace"]
exclude = [
"tests/*",
"scripts/*",
".githooks/*",
]
[package.metadata.docs.rs]
all-features = true
[features]
default = ["autodiff", "msis"]
autodiff = ["dep:num-dual"]
# NRLMSISE-00 as a density model, from its own crate. Brings that crate's `fast` path,
# which trades the reference's exact bits for roughly half the time: the largest value it
# moves over the reference grid moves by 3.9e-14 of itself, against a model whose own
# agreement with the atmosphere is tens of percent.
# NRLMSISE-00 as a density model, from its own crate
msis = ["dep:nrlmsise00"]
[dependencies]
# We handle the kernel fetching, so we don't need anise's default features
anise = { version = "0.10.6", default-features = false }
hifitime = "4.3"
# A facade only. Nothing is logged unless the program installs a logger, and the one
# thing this crate reports that way is a density model falling back to a fixed profile.
log = "0.4"
nalgebra = { version = "0.35", features = ["serde-serialize"] }
num-dual = { version = "0.15", optional = true }
+2 -2
View File
@@ -5,8 +5,8 @@
//! - Everything is SI: meters, seconds, kilograms, radians.
//! - Times are always typed using hifitime
// Needed to build docs
#![cfg_attr(feature = "autodiff", doc = include_str!("../readme.md"))]
// The readme is the crate's front page, so its examples cannot drift from the API.
#![doc = include_str!("../readme.md")]
#![warn(missing_docs)]
/// The linear algebra crate this is built on, re-exported.