small code changes

This commit is contained in:
Simon Gardling
2022-03-26 00:52:38 -04:00
parent 723d61d1b5
commit 848588e29d
4 changed files with 33 additions and 25 deletions

View File

@@ -1,6 +1,20 @@
use crate::function::Riemann;
use std::ops::RangeInclusive;
use const_format::formatc;
use shadow_rs::shadow;
shadow!(build);
// Constant string that has a string containing information about the build.
pub const BUILD_INFO: &str = formatc!(
"Commit: {} ({})\nBuild Date: {}\nRust Channel: {}\nRust Version: {}",
&build::SHORT_COMMIT,
&build::BRANCH,
&build::BUILD_TIME,
&build::RUST_CHANNEL,
&build::RUST_VERSION,
);
// Hard-Coded limits
/// Range of acceptable input values for integral_num