solunatus 0.2.0

High-precision astronomical calculation library and CLI for sun/moon positions, rise/set times, and lunar phases
Documentation
[[bin]]
name = "accuracy_report"
path = "src/bin/accuracy_report.rs"
required-features = ["benchmarks"]

[[bin]]
name = "calendar_benchmark"
path = "src/bin/calendar_benchmark.rs"
required-features = ["benchmarks"]

[[bin]]
name = "m1_max_benchmark"
path = "src/bin/m1_max_benchmark.rs"
required-features = ["benchmarks"]

[[bin]]
name = "moonrise_moonset_benchmark"
path = "src/bin/moonrise_moonset_benchmark.rs"
required-features = ["benchmarks"]

[[bin]]
name = "perf_benchmark"
path = "src/bin/perf_benchmark.rs"
required-features = ["benchmarks"]

[[bin]]
name = "simd_benchmark"
path = "src/bin/simd_benchmark.rs"
required-features = ["benchmarks"]

[[bin]]
name = "solunatus"
path = "src/main.rs"

[dependencies.anyhow]
version = "1.0"

[dependencies.chrono]
features = ["serde"]
version = "0.4"

[dependencies.chrono-tz]
version = "0.10"

[dependencies.clap]
features = ["derive"]
version = "4.5"

[dependencies.crossterm]
version = "0.29"

[dependencies.dirs]
version = "5.0"

[dependencies.fuzzy-matcher]
version = "0.3"

[dependencies.ratatui]
version = "0.29"

[dependencies.rayon]
version = "1.10"

[dependencies.reqwest]
features = ["blocking", "json"]
version = "0.12"

[dependencies.serde]
features = ["derive"]
version = "1.0"

[dependencies.serde_json]
version = "1.0"

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

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

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

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

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

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

[features]
benchmarks = []
cpu-avx2 = []
cpu-native = []
cpu-neon = []
cpu-portable = []
cpu-sve = []
default = ["cpu-portable"]
parallel = []

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

[package]
authors = ["Mike McLarney"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["science", "command-line-utilities"]
description = "High-precision astronomical calculation library and CLI for sun/moon positions, rise/set times, and lunar phases"
documentation = "https://docs.rs/solunatus"
edition = "2021"
exclude = ["dist/*", "*.html", "CPU_QUICK_REFERENCE.txt", ".cargo/", "CLAUDE.md"]
homepage = "https://github.com/FunKite/solunatus"
keywords = ["astronomy", "sun", "moon", "sunrise", "astronomical"]
license = "MIT"
name = "solunatus"
readme = "README.md"
repository = "https://github.com/FunKite/solunatus"
version = "0.2.0"

[profile.bench]
debug = 2
inherits = "release"

[profile.dev]
debug = 2
opt-level = 2

[profile.release]
codegen-units = 1
lto = true
opt-level = 3
strip = false

[profile.release-aarch64-generic]
codegen-units = 1
inherits = "release"
lto = true

[profile.release-aarch64-sve]
codegen-units = 1
inherits = "release"
lto = "fat"

[profile.release-m1-max]
codegen-units = 1
debug = 0
inherits = "release"
lto = "fat"
strip = false

[profile.release-x86-64-v2]
inherits = "release"
lto = true

[profile.release-x86-64-v3]
codegen-units = 1
inherits = "release"
lto = "fat"

[profile.test]
opt-level = 2