Skip to main content

orbital_charts/
lib.rs

1//! Orbital Charts — chart components and engine.
2
3#![recursion_limit = "512"]
4#![allow(
5    dead_code,
6    clippy::if_same_then_else,
7    clippy::ptr_arg,
8    clippy::unnecessary_unwrap
9)]
10
11pub use orbital_data::{
12    ChartFieldBinding, DataRecord, DataSchema, DataValue, Dataset, FieldDef, ProjectionError,
13};
14
15/// Label text for gap placeholder stubs.
16pub fn placeholder_label(name: &str) -> String {
17    format!("Todo: {name}")
18}
19
20#[cfg(feature = "preview")]
21pub mod preview;
22
23#[cfg(feature = "preview")]
24pub use preview::{DatasetIntegration, DATASETINTEGRATION_PREVIEW_REGISTRATION};
25
26#[cfg(feature = "preview")]
27pub(crate) mod components {
28    pub use crate::preview::{ComponentPreviewCard, OrbitalComponentView};
29}
30
31mod charts;
32mod context;
33mod engine;
34mod shared;
35mod types;
36
37pub use charts::*;
38pub use context::*;
39pub use engine::*;
40pub use shared::*;
41pub use types::*;