2020-02-14 10:14:22 -05:00
|
|
|
//! # Rusty Numbers
|
|
|
|
//!
|
|
|
|
//! Playin' with Numerics in Rust
|
2020-02-12 22:29:57 -05:00
|
|
|
#![forbid(unsafe_code)]
|
2020-04-16 14:07:12 -04:00
|
|
|
#![no_std]
|
2021-03-11 15:38:37 -05:00
|
|
|
#![warn(clippy::all, clippy::pedantic)]
|
2021-12-08 10:35:10 -05:00
|
|
|
#![allow(clippy::similar_names)]
|
2020-02-12 22:29:57 -05:00
|
|
|
|
2020-04-16 14:07:12 -04:00
|
|
|
#[cfg(all(feature = "alloc", not(feature = "std")))]
|
|
|
|
#[macro_use]
|
|
|
|
extern crate alloc;
|
|
|
|
|
|
|
|
#[cfg(feature = "std")]
|
|
|
|
#[macro_use]
|
|
|
|
extern crate std;
|
|
|
|
|
2020-02-12 22:29:57 -05:00
|
|
|
pub mod bigint;
|
2020-02-14 10:14:22 -05:00
|
|
|
pub mod num;
|
2020-02-12 22:29:57 -05:00
|
|
|
pub mod rational;
|