natural_constants/
lib.rs

1//! natural_constants: a collection of constants and helper functions
2//!
3//! Written by Willi Kappler, Version 0.2 (2022.10.11)
4//!
5//! Repository: https://github.com/willi-kappler/natural_constants
6//!
7//! License: MIT
8//!
9//!
10//! # Example:
11//!
12//! ```
13//! use natural_constants::physics::*;
14//!
15//!
16//! fn main() {
17//!     let c = speed_of_light_vac;
18//!     let m0 = 100.0;
19//!
20//!     // Use c in your code:
21//!     let E = m0 * c * c;
22//! }
23//! ```
24
25
26// For clippy
27// #![feature(plugin)]
28//
29// #![plugin(clippy)]
30
31#![allow(non_upper_case_globals)]
32#![allow(dead_code)]
33
34pub mod math;
35pub mod physics;
36pub mod chemistry;
37pub mod biology;
38pub mod engineering;
39pub mod conversion;
40pub mod misc;
41pub mod geosciences;