inital commit, which is clearly not initial

Signed-off-by: Uncle Stretch <uncle.stretch@ghostchain.io>
This commit is contained in:
Uncle Stretch
2024-10-03 15:38:52 +03:00
commit 66719626bb
178 changed files with 41709 additions and 0 deletions

17
src/main.rs Executable file
View File

@@ -0,0 +1,17 @@
//! Ghost CLI
#![warn(missing_docs)]
use color_eyre::eyre;
/// Global allocator. Changing it to another allocator will require changing
/// `memory_stats::MemoryAllicationTracker`.
#[cfg(any(target_os = "linux", feature = "jemalloc-allocator"))]
#[global_allocator]
pub static ALLOC: tikv_jemallocator::Jemalloc = tikv_jemallocator::Jemalloc;
fn main() -> eyre::Result<()> {
color_eyre::install()?;
ghost_cli::run()?;
Ok(())
}