skymath 0.1.0

Planning-grade astronomy math for astrophotography tooling: angles, equatorial coordinates, sexagesimal parsing and formatting, angular separation and offsets, precession, MJD/JD/calendar conversions, sidereal time, and observer-local quantities (alt-az, airmass, transit).
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"
rust-version = "1.74"
name = "skymath"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Planning-grade astronomy math for astrophotography tooling: angles, equatorial coordinates, sexagesimal parsing and formatting, angular separation and offsets, precession, MJD/JD/calendar conversions, sidereal time, and observer-local quantities (alt-az, airmass, transit)."
documentation = "https://docs.rs/skymath"
readme = "README.md"
keywords = [
    "astronomy",
    "astrophotography",
    "coordinates",
    "sidereal",
    "ephemeris",
]
categories = [
    "science",
    "mathematics",
]
license = "Apache-2.0"
repository = "https://github.com/nightwatch-astro/skymath"

[package.metadata.docs.rs]
all-features = true

[features]
serde = [
    "dep:serde",
    "time/serde-human-readable",
]

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

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

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

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

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

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

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

[dependencies.serde]
version = "1.0.228"
features = ["derive"]
optional = true

[dependencies.thiserror]
version = "2.0.18"

[dependencies.time]
version = "0.3.41"
features = [
    "formatting",
    "parsing",
    "macros",
]

[dev-dependencies.anyhow]
version = "1.0.103"

[dev-dependencies.proptest]
version = "1.8.0"

[dev-dependencies.serde_json]
version = "1.0.150"

[lints.clippy.all]
level = "warn"
priority = -1

[lints.rust]
missing_docs = "warn"
unsafe_code = "forbid"