Leftpad
Rust package to left pad a string with a character.
Inspired by the "left-pad" NPM package (and the fiasco that happened after its removal).
Supported Platforms
- Unix (tested on FreeBSD, Linux and macOS)
- Windows
- cmd.exe
- Powershell
Example
use ;
crates.io
You can use this package in your project by adding the following
to your Cargo.toml:
[]
= "1.1.0"
then you can use it in your own crates.