green_copper_runtime/modules/util/
mod.rs

1
2
3
4
5
6
7
8
9
10
11
12
use quickjs_runtime::builder::QuickJsRuntimeBuilder;

#[cfg(any(feature = "all", feature = "util", feature = "cache"))]
pub mod cache;

pub(crate) fn init(builder: QuickJsRuntimeBuilder) -> QuickJsRuntimeBuilder {
    // todo
    #[cfg(any(feature = "all", feature = "util", feature = "cache"))]
    let builder = cache::init(builder);

    builder
}