rusty-ssr 0.1.0

High-performance SSR engine for Rust with V8 isolate pool and multi-tier caching
Documentation
//! V8 Thread Pool for parallel SSR rendering
//!
//! This module provides a thread pool where each worker has its own V8 isolate,
//! solving the `!Send + !Sync` problem of V8 runtimes.
//!
//! ## Architecture
//!
//! ```text
//! ┌─────────────────────────────────────────────────┐
//! │                   V8Pool                         │
//! │  ┌──────────┐                                   │
//! │  │ Channel  │◄──── render requests              │
//! │  └────┬─────┘                                   │
//! │       │                                         │
//! │  ┌────▼────┐  ┌─────────┐  ┌─────────┐        │
//! │  │Worker 0 │  │Worker 1 │  │Worker N │  ...    │
//! │  │ (V8)    │  │ (V8)    │  │ (V8)    │        │
//! │  └─────────┘  └─────────┘  └─────────┘        │
//! └─────────────────────────────────────────────────┘
//! ```

mod bundle;
mod pool;
mod renderer;
mod runtime;

pub use bundle::{init_bundle, init_bundle_from_string, is_initialized};
pub use pool::{PoolError, V8Pool, V8PoolConfig};