Crates.io | packxel-utils |
lib.rs | packxel-utils |
version | 0.3.1 |
source | src |
created_at | 2023-05-09 23:00:35.702214 |
updated_at | 2023-05-10 22:07:36.08089 |
description | A bunch of packaging utilities |
homepage | https://github.com/aniketbiprojit/packxel |
repository | https://github.com/aniketbiprojit/packxel |
max_upload_size | |
id | 860865 |
size | 15,143 |
Shared utils for our packaging utility
View docs
use packxel_utils::initializer::PackxelInitializer;
let version = env!("CARGO_PKG_VERSION");
// creates the config and log directories.
let initializer = PackxelInitializer::init("packxel", version);
use packxel_utils::logging::PackxelLogger;
let initializer = Initializer::init("package-name", "0.0.1");
PackxelLogger::init(initializer);
log::info!("Hello World");