first commit

This commit is contained in:
Timur Gordon
2025-10-20 22:24:25 +02:00
commit 097360ad12
48 changed files with 6712 additions and 0 deletions

23
src/lib.rs Normal file
View File

@@ -0,0 +1,23 @@
// 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;
#[cfg(feature = "rhai-support")]
pub mod rhai_support;
pub use error::{Error, Result};
pub use store::{BaseData, IndexKey, Object, Storable};
// Re-export the derive macro
pub use osiris_derive::Object as DeriveObject;
// OsirisInstance is the main type for Rhai integration
#[cfg(feature = "rhai-support")]
pub use rhai_support::OsirisInstance;