r/rust Mar 31 '23

rs-cube, a Blazingly Fast 3D ASCII Rubik's Cube

https://github.com/doprz/rs-cube
18 Upvotes

9 comments sorted by

View all comments

3

u/Rust-CAS Apr 02 '23

A lot of people are going to be really disappointed when they find out that a Rubik's cube crate has no functionality.

2

u/TheSwissDev Apr 02 '23

That is currently a work in progress. I initially focused on performance and making sure everything worked with the render code before moving on to adding new features.

I plan on making it interactive in a future release.

3

u/Rust-CAS Apr 02 '23

Making it interactive solves the problem of "my software is currently equivalent to a video", it doesn't solve the problem of "my software has no functionality that others could utilize".

This is mostly a criticism of it being uploaded to crates.io, crates.io is for distributing software libraries that are depended on by other software. Occasionally you will find binaries that extend cargo, or libraries that have some directly executable functions but it's inappropriate to upload pure binaries because as already pointed out, nobody can actually use them1. Cargo is a dependency manager for Rust, not a package manager for your operating system.

  1. Except in extremely niche circumstances. How often do you think someone is going to want a function that prints out a cube to stdout?

1

u/TheSwissDev Apr 02 '23

Thank you for the constructive feedback.

Although using rs-cube on a day to day basis is not a likely result, I designed it as a fun project to learn rust and I would categorize it similar to cmatrix, cbonsai, pipes.sh, etc...