add common crate

Signed-off-by: xermicus <cyrill@parity.io>
This commit is contained in:
xermicus committed 2024-03-22 16:19:18 +01:00
1 parent 50f2dd9b74
commit c52a8d0f20
65 files changed
+839 -271

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
//!
//! The number base constants.
//!
/// The binary number base.
pub const BASE_BINARY: u32 = 2;
/// The octal number base.
pub const BASE_OCTAL: u32 = 8;
/// The decimal number base.
pub const BASE_DECIMAL: u32 = 10;
/// The hexadecimal number base.
pub const BASE_HEXADECIMAL: u32 = 16;