Skip to main content

recoco_core/ops/functions/
mod.rs

1// ReCoco is a Rust-only fork of CocoIndex, by [CocoIndex](https://CocoIndex)
2// Original code from CocoIndex is copyrighted by CocoIndex
3// SPDX-FileCopyrightText: 2025-2026 CocoIndex (upstream)
4// SPDX-FileContributor: CocoIndex Contributors
5//
6// All modifications from the upstream for ReCoco are copyrighted by Knitli Inc.
7// SPDX-FileCopyrightText: 2026 Knitli Inc. (ReCoco)
8// SPDX-FileContributor: Adam Poulemanos <adam@knit.li>
9//
10// Both the upstream CocoIndex code and the ReCoco modifications are licensed under the Apache-2.0 License.
11// SPDX-License-Identifier: Apache-2.0
12
13#[cfg(feature = "function-detect-lang")]
14pub mod detect_program_lang;
15#[cfg(feature = "function-embed")]
16pub mod embed_text;
17#[cfg(feature = "function-extract-llm")]
18pub mod extract_by_llm;
19#[cfg(feature = "function-json")]
20pub mod parse_json;
21#[cfg(feature = "function-split")]
22pub mod split_by_separators;
23#[cfg(feature = "function-split")]
24pub mod split_recursively;
25
26#[cfg(test)]
27mod test_utils;