Comments (3)
Hi @chipsenkbeil! Thank you for using my crate! 😸 I agree; that might be a valuable addition to it.
Have you reviewed this crate https://crates.io/crates/pct-str? It's pretty small (9Kb) and does exactly what you want? Does it fit you?
Or maybe this one https://crates.io/crates/urlencoding? (5Kb)
Otherwise, could you please provide test cases that you are interested in?
from voca_rs.
@e1r0nd, I'm using percent-encoding right now, which is slightly smaller than pct-str. Both of these along with urlencoding appear to do the same thing, which is good as this shouldn't be too hard. 😄
For me, the specific use case is that I parse documents for links, but these links can also reference local files that have spaces in their paths. I first encode all spaces as %20 (as well as other relevant characters) and then parse using uriparse-rs.
from voca_rs.
No movements on this, so it is closed.
from voca_rs.
Related Issues (16)
- Review escape::escape_html HOT 1
- Add scientific numbers validation
- Add hex number validation -> 0xFF
- Rewrite: strip::strip_tags
- README.md example does not compile HOT 1
- strip_tags panic HOT 3
- split::words alternative that keeps punctuation HOT 5
- panic stripping half-open directive HOT 11
- U+200D (zero-width joiner) breaks the parsing HOT 1
- Link text for is_blank is wrong in README HOT 1
- Refactoring: ASCII_LETTERS HOT 1
- Refactoring: ASCII_UPPERCASE HOT 1
- Refactoring: HEXDIGITS HOT 1
- Refactoring: OCTDIGITS HOT 1
- Refactoring: PRINTABLE HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from voca_rs.