| Crates.io | best_skn_message |
| lib.rs | best_skn_message |
| version | 1.2.5 |
| created_at | 2024-05-13 17:15:47.48586+00 |
| updated_at | 2025-10-23 05:48:21.026353+00 |
| description | A Simple Message Library For Rust |
| homepage | |
| repository | https://github.com/skn437/skn-rust-message |
| max_upload_size | |
| id | 1238691 |
| size | 14,984 |
Rust
message which holds 3 functions to return colored Strings & 3 functions to output formatted static String notification messages
message Module:It has 3 functions which return colored Strings as output
It has 3 functions which outputs formatted static String notifications
The String returned by each function, doesn't contain new line character i.e. '\n'
1.80.0
cargo add best_skn_message
use best_skn_message::message;
Message Module, use like the following (Just an example)let error: String = message::error("Error occurred!"); panic!("{} \n", error); let success: String = message::success("Process completed!"); println!("{}", success); let info: String = message::info("Process is safe to pause!"); println!("{}", info); let failure: String = message::action_failure("Copy Files"); // Action name as argument panic!("{} \n", failure); let complete: String = message::action_complete("Read Config File"); // Action name as argument println!("{}", complete); let notify: String = message::action_notify("Run Shell Scripts", "Safe to use without error!"); // Action name & notification info message as arguments println!("{}", notify);
Prodipta Das Logno & 🧛♀️Atoshi Sarker Prithula: The two most special ladies of my life. My best wishes will always be with you two. May you two always be happy.My Parents: The greatest treasures of my life ever.
Copyright (C) 2024 SKN Shukhan
Licensed under the MIT License