packxel-utils

Crates.iopackxel-utils
lib.rspackxel-utils
version0.3.1
sourcesrc
created_at2023-05-09 23:00:35.702214
updated_at2023-05-10 22:07:36.08089
descriptionA bunch of packaging utilities
homepagehttps://github.com/aniketbiprojit/packxel
repositoryhttps://github.com/aniketbiprojit/packxel
max_upload_size
id860865
size15,143
Aniket Biprojit Chowdhury (aniketbiprojit)

documentation

README

Packxel Utils

Shared utils for our packaging utility

View docs

Initializer

use packxel_utils::initializer::PackxelInitializer;
let version = env!("CARGO_PKG_VERSION");
// creates the config and log directories.
let initializer = PackxelInitializer::init("packxel", version);

Logging

use packxel_utils::logging::PackxelLogger;
let initializer = Initializer::init("package-name", "0.0.1");
PackxelLogger::init(initializer);
log::info!("Hello World");
Commit count: 0

cargo fmt