singularity-forge/rust-engine/crates/engine/src/lib.rs

31 lines
534 B
Rust

//! N-API addon for SF.
//!
//! Exposes high-performance Rust modules to Node.js via napi-rs.
//! ```text
//! JS (packages/native) -> N-API -> Rust modules (ast, clipboard, grep, image, ...)
//! ```
#![allow(clippy::needless_pass_by_value)]
#![cfg_attr(test, allow(dead_code))]
mod ast;
mod clipboard;
mod diff;
mod fd;
mod fs_cache;
mod glob;
mod glob_util;
mod grep;
mod highlight;
mod html;
mod ps;
mod task;
mod text;
mod ttsr;
mod forge_parser;
mod image;
mod truncate;
mod json_parse;
mod stream_process;
mod xxhash;
mod git;