opencrabs 0.5.14

The autonomous, self-improving AI agent. Single Rust binary. Every channel. Recommended: the 40MB prebuilt binary for macOS, Linux and Windows: https://github.com/opencrabs/opencrabs/releases
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! Per-language phantom-detection data loaded from TOML at compile time.
//!
//! Each `.toml` file defines the phrases, verbs, and regex patterns
//! for one language. The loader embeds them into the binary via
//! `include_str!` so any TOML syntax error fails the build.
//!
//! [`config`] holds the struct, the embedded tables, and the [`Lang`]
//! registry that every pack list resolves from; [`detect`] holds the
//! character-set heuristic that picks one. This file is declarations only:
//! no function definitions live here (CONTRIBUTING.md).

pub(crate) mod config;
mod detect;

pub use config::{Lang, LangConfig, all_langs};
pub use detect::{detect_lang, detect_language};