[package]
edition = "2021"
rust-version = "1.89"
name = "nsb"
version = "0.1.1"
authors = ["VPRamon <vallespuigramon@gmail.com>"]
build = "build.rs"
exclude = [
"data/starlight_nside128.csv",
"data/starlight_nside128.release.csv",
"data/starlight_nside128.manifest.toml",
"data/merge_report.json",
]
publish = ["crates-io"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Night-sky background evaluation and observation planning for ground-based astronomy."
documentation = "https://docs.rs/nsb"
readme = "README.md"
keywords = [
"astronomy",
"atmosphere",
"sky-brightness",
"ctao",
"nsb",
]
categories = ["science"]
license = "AGPL-3.0-only"
repository = "https://github.com/VPRamon/NSB"
[features]
default = ["serde"]
python = [
"dep:pyo3",
"dep:siderust-py",
"dep:tempoch-py",
]
serde = [
"siderust/serde",
"tempoch/serde",
]
[lib]
name = "nsb"
crate-type = [
"rlib",
"cdylib",
]
path = "src/lib.rs"
[[example]]
name = "model_metadata"
path = "examples/model_metadata.rs"
[[example]]
name = "point_query"
path = "examples/point_query.rs"
[[example]]
name = "threshold_window"
path = "examples/threshold_window.rs"
[[test]]
name = "airglow_maturity"
path = "tests/airglow_maturity.rs"
[[test]]
name = "airglow_model_selection"
path = "tests/airglow_model_selection.rs"
[[test]]
name = "api_contract"
path = "tests/api_contract.rs"
[[test]]
name = "api_freeze_contracts"
path = "tests/api_freeze_contracts.rs"
[[test]]
name = "atmospheric_transport"
path = "tests/atmospheric_transport.rs"
[[test]]
name = "build_manifest_validation"
path = "tests/build_manifest_validation.rs"
[[test]]
name = "embedded_production"
path = "tests/embedded_production.rs"
[[test]]
name = "end_to_end_validation"
path = "tests/end_to_end_validation.rs"
[[test]]
name = "jones2013_validation"
path = "tests/jones2013_validation.rs"
[[test]]
name = "moonlight_model_selection"
path = "tests/moonlight_model_selection.rs"
[[test]]
name = "query_api"
path = "tests/query_api.rs"
[[test]]
name = "science_metadata"
path = "tests/science_metadata.rs"
[[test]]
name = "serde_feature"
path = "tests/serde_feature.rs"
[[test]]
name = "siderust_provenance"
path = "tests/siderust_provenance.rs"
[[test]]
name = "starlight_compact"
path = "tests/starlight_compact.rs"
[[test]]
name = "starlight_precision_performance"
path = "tests/starlight_precision_performance.rs"
[[test]]
name = "zodiacal_model_selection"
path = "tests/zodiacal_model_selection.rs"
[[bench]]
name = "airglow_geometry"
path = "benches/airglow_geometry.rs"
harness = false
[[bench]]
name = "threshold_window"
path = "benches/threshold_window.rs"
harness = false
[dependencies.bitflags]
version = "2.13"
[dependencies.cheby]
version = "0.4.2"
[dependencies.chrono]
version = "0.4"
[dependencies.csv]
version = "1"
[dependencies.log]
version = "0.4"
[dependencies.pyo3]
version = "0.29.2"
features = ["abi3-py310"]
optional = true
[dependencies.rayon]
version = "1.11"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.sha2]
version = "0.11"
[dependencies.siderust]
version = "0.14.1"
features = [
"std",
"atmosphere",
"photometry",
]
default-features = false
[dependencies.siderust-py]
version = "0.4"
optional = true
[dependencies.tempoch]
version = "0.10"
[dependencies.tempoch-py]
version = "0.4"
optional = true
[dependencies.thiserror]
version = "2.0"
[dependencies.toml]
version = "1.1.2"
[dev-dependencies.criterion]
version = "0.8"
features = ["html_reports"]
default-features = false
[build-dependencies.serde]
version = "1"
features = ["derive"]
[build-dependencies.sha2]
version = "0.11"
[build-dependencies.toml]
version = "1.1.2"