added rust api to control DESI data distribution; updated to utilize bun for renovate
CI / Unit tests (pull_request) Failing after 8m55s

This commit is contained in:
2026-08-31 13:17:05 -06:00
parent 32ab1213fb
commit 5148d7e54f
19 changed files with 978 additions and 16 deletions
+22
View File
@@ -0,0 +1,22 @@
use serde::Serialize;
/// Catalog metadata for a DESI data release/survey.
#[derive(Debug, Clone, Serialize)]
pub struct Catalog {
pub name: String,
pub release: String,
pub description: &'static str,
pub object_count: Option<u64>,
}
/// A single catalog object (galaxy / quasar / star) with its survey
/// coordinates. `ra` and `dec` are in degrees; `redshift` is dimensionless.
#[derive(Debug, Serialize)]
pub struct CatalogObject {
pub id: String,
pub catalog: String,
pub object_type: String,
pub ra: f64,
pub dec: f64,
pub redshift: f64,
}