harn-vm 0.10.33

Async bytecode virtual machine for the Harn programming language
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
//! Shared text utilities.
//!
//! These are plain string helpers with no VM dependency; they live here
//! because `harn-vm` is the lowest crate reachable from every consumer
//! (`harn-cli`, `harn-hostlib`, `harn-lint`), and a leaf crate of their own
//! would not earn its keep for three small modules.

pub mod ansi;
pub mod case;
pub mod truncate;

pub use ansi::strip_ansi;
pub use truncate::{truncate_end, truncate_end_bytes, truncate_start};