relay-core-storage 0.2.0

[Internal] SQLite persistence layer for relay-core-runtime. Not a user-facing crate.
Documentation
//! Internal persistence crate for [relay-core](https://crates.io/crates/relay-core).
//! SQLite-backed storage for rules, flows, and audit events.
//!
//! **This is not a user-facing crate.** Use `relay-core` instead.

pub mod error;
pub mod store;

#[derive(thiserror::Error, Debug)]
pub enum StorageError {
    #[error("Database error: {0}")]
    Database(#[from] sqlx::Error),
    #[error("IO error: {0}")]
    Io(#[from] std::io::Error),
}

pub type Result<T> = std::result::Result<T, StorageError>;

pub fn init() {
    // tracing::info!("Relay Core Storage Initialized");
}