solunatus 0.3.3

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

[features]
ai-insights = ["dep:reqwest"]
benchmarks = []
cpu-avx2 = []
cpu-native = []
cpu-neon = []
cpu-portable = []
cpu-sve = []
default = [
    "cpu-portable",
    "usno-validation",
    "ai-insights",
]
parallel = ["dep:rayon"]
usno-validation = ["dep:reqwest"]

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

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

[[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"

[dependencies.anyhow]
version = "1.0"

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

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

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

[dependencies.crossterm]
version = "0.29"

[dependencies.dirs]
version = "5.0"

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

[dependencies.ratatui]
version = "0.30"

[dependencies.rayon]
version = "1.10"
optional = true

[dependencies.reqwest]
version = "0.12"
features = [
    "blocking",
    "json",
    "rustls-tls",
]
optional = true
default-features = false

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

[dependencies.serde_json]
version = "1.0"

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

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

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

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

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

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

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

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

[profile.test]
opt-level = 2