You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Fortune for reverse's current commit: Middle blessing − 中吉
|12 months ago|
|src||12 months ago|
|.gitignore||12 months ago|
|Cargo.lock||12 months ago|
|Cargo.toml||12 months ago|
|Makefile||12 months ago|
|README.md||12 months ago|
Collects input, reverses it, then outputs it.
$ reverse 1 2 3 4 4 3 2 1
From standard input:
$ find . | reverse
Standard input is read line by line, unlike arguments. The two cannot be combined.
$ cargo build --release
The outputted binary will be
There are several compile-time flags. See ./Cargo.toml for the description of each one.
To build with custom features:
$ cargo build --release --no-default-features --features <your feature>,...
This is a toy project I used to play around with what I could do with slice patterns in Rust.