Crates.io | gaze |
lib.rs | gaze |
version | 0.5.0 |
source | src |
created_at | 2021-09-04 22:02:54.141892 |
updated_at | 2023-07-02 06:41:11.367553 |
description | Gaze is a small utility library with the goal of making it easier to scan/lex text and collections. |
homepage | |
repository | https://github.com/almibe/gaze/ |
max_upload_size | |
id | 446965 |
size | 136,935 |
You find yourself standing on the hill outside your childhood village. A place you've been many times before but this time everything seems foreign. The sparse array of calm, small lights you normally see spread through town at this time of night is not to be seen. Instead, you see disruptive, large flares of light. And instead of the normal murmur of citizens finishing their day before going home you hear a steady roar of distress.
As you stand in the darkness a small cloaked figure scurries towards you. You greet the creature with a handful of fruits and nuts that you pull from your pocket. They take your greeting into their paws and quickly devour it. Looking down upon them, you see their eyes reflect the distant light, made even more noticeable behind their natural black mask. They look up to you after eating, swipe at their right whiskers twice, you nod, in a single motion they jump out of their cloak and join the gaze gathered behind you.
You take one last moment to appreciate the irony of joining forces with one of nature's most chaotic forces to combat chaos. You draw in a deep breathe realizing that many mistakes will be made tonight. You raise your black, sleeved arm and point towards your home. You feel the gaze rush around you and see them run down the hill. You follow behind.
Gaze is a small utility library with the goal of making it easier to process text in Rust.
It's experimental at the moment, the API is likely to change often and it is not optimized at all, so you can play around with it, but don't expect much. I'm not sure yet if this is even a good idea 🤷
For examples see the tests. Real world examples will be linked soon.
Logo picture credit: https://unsplash.com/@marcus_d