Oregami
Repositories/oxedyne/fe2o3

oxedyne/fe2o3/fe2o3_text/src/lib.rs

1.8 KiB, 29 runs

created by r1870400018:1101, which is this file's identity for as long as the history lasts, whatever it is later renamed to

download · who wrote it · its history

1//! Text processing utilities for the Hematite ecosystem.
2//!
3//! This crate provides tools for manipulating and analysing text in various ways. Key features include:
4//!
5//! - `Stringer` - A String wrapper that adds functionality like intelligent quote handling, indentation
6//! control, line wrapping and character insertion at specified intervals.
7//!
8//! - SACSS (Simple And Composite String Search) - An alternative to regex that aims to be more approachable
9//! through composable boolean operations on simple pattern matches like "starts with", "contains" etc.
10//!
11//! - `regex` - A regular-expression engine with the syntax and meaning of the Rust `regex` crate,
12//! which Typst's `regex(...)` uses: captures, Unicode property classes and replacement, matched
13//! in time linear in pattern times text
14//!
15//! - `glob` - Shell-style path globbing, `**` included, for selecting files by name
16//!
17//! - Thread-safe text containers supporting concurrent access with highlighting capabilities
18//!
19//! - Base-2^x encodings with customisable alphabets for binary-to-text conversion, alongside
20//! standard RFC 4648 Base64 for talking to everybody else
21//!
22//! - Text splitting with quote protection and hyphenation awareness
23//!
24//! - Line-oriented text manipulation with full Unicode support
25//!
26//! The implementation focuses on providing intuitive text processing tools while maintaining strong safety
27//! guarantees. All functionality is implemented without unsafe code.
28//!
29#![forbid(unsafe_code)]
30#![allow(dead_code)]
31pub mod access;
32pub mod base2x;
33pub mod base64;
34pub mod core;
35pub mod glob;
36pub mod highlight;
37pub mod html;
38pub mod lines;
39pub mod doc;
40pub mod pattern;
41pub mod regex;
42pub mod secret;
43pub mod split;
44pub mod string;
45pub mod phrase;
46pub mod table;
47
48pub mod fmt;
49pub mod unicode;
50pub mod xml;
51
52pub use core::Text;