24 lines
602 B
Rust
24 lines
602 B
Rust
// Allow the crate to reference itself as ::osiris for the derive macro
|
|
extern crate self as osiris;
|
|
|
|
pub mod config;
|
|
pub mod error;
|
|
pub mod index;
|
|
pub mod interfaces;
|
|
pub mod objects;
|
|
pub mod retrieve;
|
|
pub mod store;
|
|
|
|
// Rhai integration modules (top-level)
|
|
pub mod context;
|
|
|
|
pub use error::{Error, Result};
|
|
pub use store::{BaseData, IndexKey, Object, Storable};
|
|
pub use objects::{Event, Note};
|
|
|
|
// OsirisContext is the main type for Rhai integration
|
|
pub use context::{OsirisContext, OsirisInstance, OsirisContextBuilder};
|
|
|
|
// Re-export the derive macro
|
|
pub use osiris_derive::Object as DeriveObject;
|