fibonacci-numbers 5.0.0

The 5th Fibonacci number
Documentation

fibonacci-numbers

First install the version of this crate corresponding to the Fibonacci number you want to use:

cargo add fibonacci-numbers@5 --rename fib5

Then you can use the VALUE constant to get its value:

assert_eq!(fib5::VALUE, 5);