Anyone looking for a fun small rust project? Create a crate for cleaning urls, based on the ClearUrls project
Anyone looking for a fun small rust project? Create a crate for cleaning urls, based on the ClearUrls project
This would entail:
- Pulling in the ClearUrls rules as a git submodule.
- Reading / transforming the json there into Rust structs.
- Creating a Rust crate that runs a
.clean(input_url) -> String
Lemmy issue: https://github.com/LemmyNet/lemmy/issues/4905
You're viewing a single thread.
All Comments
6 comments
I just released a crate doing exactly that: https://crates.io/crates/clearurls
Let me know if if fits your need or you need anything else. Issues and PRs welcome.
3 0 ReplyWhoa nice! I'll check it out and see how we can integrate it into lemmy.
2 0 Reply
6 comments
Scroll to top