3 个稳定版本
1.0.2 | 2022 年 11 月 16 日 |
---|---|
1.0.1 | 2022 年 8 月 13 日 |
#5 in #过时
7KB
90 代码行
安装
cargo install rustcii
用法
编码
rustcii encode <input>
解码
rustcii decode <input>
脚本示例
Bash
此脚本示例也位于此仓库中。
# Load in the contents of your file which stil uses pathetic, old and outdated "characters".
input=$(cat example.txt)
# Convert the content into the new, exciting, blazingly (🦀) fast (🚀) and - most important of all - superior *Rustcii-Encoding*.
better=$(rustcii encode "$input")
# Save the superior content into a new file. The file format <file-name>.superior.<extension> is not required - but recommended since everyone should know at one glance whether or not a file contains the new, exciting, blazingly (🦀) fast (🚀) and - most important of all - superior *Rustcii-Encoding* or just some pathetic, old and outdated "characters".
# Note: Once operating systems adapt to this modern change and allows the Rustcii-Encoding to be used in filenames, it is recommended to change the filename into the Rustcii-Encoding as well.
echo $better > example.superior.txt
依赖项
~2MB
~28K SLoC