yayagram
Play nonograms/picross in your terminal (by wooster0)
strum
A small rust library for adding custom derives to enums (by Peternator7)
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
yayagram
Posts with mentions or reviews of yayagram.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-08-10.
- Play Nonograms in Your Terminal
-
What's your favourite under-rated Rust crate and why?
Two crates: - parse-size is criminally underrated. It allows you to parse input like "100 MB", "50 kb", "25b" into an integer of bytes. It parses input so intuitively and it works exactly the way I expected. I use it in https://github.com/r00ster91/splitter. - line_drawing is in my opinion the best line algorithm library there is. Extremely clean and nice to use. Exactly what I need for my project https://github.com/r00ster91/yayagram.
-
What’s everyone working on this week (22/2021)?
Still working on this puzzle game playable in the terminal with the mouse: https://github.com/r00ster91/yayagram In version 0.5.0 I've added a feature to darken all cells in a specific direction from the pointer but now I've figured out that a much better way is to constantly darken all cells in the four directions of the mouse pointer.
-
yayagram: Play nonograms/picross in your terminal
This is the repository with much more information in the README.md: https://github.com/r00ster91/yayagram, including an example at the bottom that might help you understand the game better if you are new to this kind of puzzle game. See also: https://en.wikipedia.org/wiki/Nonogram.
Hello Rustaceans. This is a clone of the puzzle game picross (also known as nonograms, griddlers and some other names) but with some additions and novelty, like a blue grid cell (wasn't used in this video) and an editor. If you want to try it, you can install the game with cargo install yayagram. Here is the repository with much more information in the README.md: https://github.com/r00ster91/yayagram, including an example that might help you understand the game better if you are new to this puzzle game.
-
What's everyone working on this week (21/2021)?
Today I released the puzzle game yayagram which is picross/nonograms but for the terminal. I've been working on it for what feels like months now and it has really come a long way.
strum
Posts with mentions or reviews of strum.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-06-11.
-
What are some common verbose code patterns in rust and unique ways to reduce the said verbosity?
Take a look at the strum crate. https://crates.io/crates/strum
-
Published my first Crate today to map Environment Variables to Enums
I would be use something like https://github.com/Peternator7/strum if I need map string to enum and serde is not the option.
-
Two-way alternative to enum_kinds crate?
Looks like proper support for this in strum has been proposed.
-
Best way of associating enums with values?
This crate can generate an iterator for you using a macro https://github.com/Peternator7/strum
-
Hey Rustaceans! Got a question? Ask here (4/2023)!
The strum crate is also good for removing this kind of boilerplate, and worth checking out!
-
What are some less popular but well-made crates you'd like others to know about?
strum is among my favorite crates to recommend. Favorites of this crate include EnumProperty and EnumIter
-
What's everyone working on this week (45/2022)?
I released my first crate that provides a derive macro to easily obtain a name of a current variant in an enum as a string. I did it mostly to learn about procedural macros and the process of releasing a crate. I then found out there is strum which does this and much more. Nonetheless, I learned a lot and I found couple of nice tools like ```cargo-release and git-cliff.
-
Hey Rustaceans! Got a question? Ask here! (33/2022)!
I used https://crates.io/crates/strum to iterate over the enum variants, otherwise you'd have to hardcode the list of variants and wouldn't gain anything.
-
Questions about enums
If you chose to go with the "derive a trait" route the strum crate might be what you're looking for. It lets you use derive to add information about variant count, discriminants or even iterators over variants to an enum.
-
Match enum with String
You might want something like strum
What are some alternatives?
When comparing yayagram and strum you can also consider the following projects:
phpass - PHPass, the WordPress password hasher, re-implemented in rust
enum-map
nettu-booking
serde-plain - A serde serializer that serializes a subset of types into plain strings
rtr - Command-line text processing tool
enum-iterator - Tools to iterate over all values of a type
rust-djangohashers - A Rust port of the password primitives used in Django Project.
rusty-city - Sand simulation game
sonyflake-rs - 🃏 A distributed unique ID generator inspired by Twitter's Snowflake.
redbpf - Rust library for building and running BPF/eBPF modules
goblin - An impish, cross-platform binary parsing crate, written in Rust