fibonacci_numbers/lib.rs
1//! # fibonacci-numbers
2//! First install the version of this crate corresponding to the [Fibonacci number](https://en.wikipedia.org/wiki/Fibonacci_number) you want to use:
3//! ```sh
4//! cargo add fibonacci-numbers@122 --rename fib122
5//! ```
6//!
7//! Then you can use the `VALUE` constant to get its value:
8//! ```
9//! # use fibonacci_numbers as fib122;
10//! assert_eq!(fib122::VALUE, 14028366653498915298923761);
11//! ```
12
13#![no_std]
14
15/// The 122nd [Fibonacci number](https://en.wikipedia.org/wiki/Fibonacci_number): 14028366653498915298923761
16pub const VALUE: u128 = fib120::VALUE + fib121::VALUE;