extabs 1.0.3

Implements expandtabs for String
Documentation
  • Coverage
  • 0%
    0 out of 3 items documented0 out of 2 items with examples
  • Size
  • Source code size: 4.13 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.04 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 9s Average build duration of successful builds.
  • all releases: 9s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Repository
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • clowzed

extabs

Implements expandtabs for String

Crates.io Crates.io (recent)

Installation

Add this line in your Cargo.toml file

extabs = "1.0.3"

Usage

fn main() {
    let s = String::from("Hello\tWorld!");
    let expanded = s.expandtabs(4);
    println!("{}", expanded);
}