I added farewell(name) to src/lib.rs, next to greeting. It returns Goodbye, <name>!.
The issue only specified the plain case. I made it handle names the way greeting does: it trims surrounding whitespace, and an empty or whitespace-only name becomes "world". So farewell("") returns Goodbye, world!. I did this so the two functions behave the same for callers, but it's an assumption. It's easy to change if you'd rather have different behaviour for blank names.
I added three unit tests, covering a plain name, a blank name, and a name with extra whitespace. cargo test passes, 7 tests in all. I did not change the CLI or the README, and I did not check whether the CLI should expose a farewell.