Skip to main content

folk_runtime_embed/
lib.rs

1#![cfg(unix)]
2//! Embedded PHP runtime for Folk.
3//!
4//! Embeds the PHP interpreter directly into the Rust process via FFI,
5//! eliminating IPC overhead. Each worker runs on a dedicated OS thread
6//! with its own isolated PHP runtime.
7
8pub mod ffi;
9mod handle;
10pub mod php;
11mod runtime;
12mod worker;
13
14pub use runtime::{EmbedConfig, EmbedRuntime};