| Crates.io | large-text-core |
| lib.rs | large-text-core |
| version | 0.1.1 |
| created_at | 2025-12-14 18:03:39.701433+00 |
| updated_at | 2025-12-15 06:00:35.429727+00 |
| description | Core library for handling large text files search and replace efficiently |
| homepage | |
| repository | https://github.com/acejarvis/large-text-viewer |
| max_upload_size | |
| id | 1984821 |
| size | 42,498 |
Core library for handling large text files search and replace efficiently. This crate provides the backend functionality for the Large Text Viewer application.
memmap2 for efficient file access without loading the entire file into RAM.encoding_rs.file_readerHandles opening files via memory mapping and provides methods to read chunks of text with proper encoding decoding.
line_indexerBuilds an index of line start offsets. For extremely large files, it can use sparse sampling to estimate line positions while keeping memory usage low.
search_engineProvides functionality to search for strings or regular expressions. It supports:
replacerHandles writing changes back to the file. It supports:
Add this to your Cargo.toml:
[dependencies]
large-text-core = { path = "crates/large-text-core" }
MIT