#url #display #truncate #shorten #link-shortener

shorten-url

缩短 URL 部分为更友好的显示

1 个稳定版本

1.0.0 2020年7月30日

#278值格式化

MIT/Apache

9KB
147

shorten-url

缩短 URL 部分为更友好的显示

Rust 版本 shorten-url

安装

使用 cargo-edit 做以下操作

cargo add shorten-url

或者,在 Cargo.toml

[dependencies]
shorten-url = "1.0"

测试

运行测试

cargo test

还有使用 cargo-fuzz 的模糊测试。通过以下操作运行它

cargo +nightly fuzz run basic

许可证

MIT OR Apache-2.0


lib.rs:

缩短 URL 部分为更友好的显示。

这是 shorten-url 的 Rust 版本。

有关用法信息,请参阅 shorten 文档。

无运行时依赖