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

+9
View File
@@ -0,0 +1,9 @@
//!
//! The exit code constants.
//!
/// The common application success exit code.
pub const EXIT_CODE_SUCCESS: i32 = 0;
/// The common application failure exit code.
pub const EXIT_CODE_FAILURE: i32 = 1;