{"id":21646622,"url":"https://github.com/skn437/skn-rust-message","last_synced_at":"2026-01-24T09:32:51.747Z","repository":{"id":239540181,"uuid":"799565659","full_name":"skn437/skn-rust-message","owner":"skn437","description":"A Simple Message Library For Rust","archived":false,"fork":false,"pushed_at":"2025-12-17T05:13:37.000Z","size":74,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-27T05:24:06.418Z","etag":null,"topics":["crates","library","message","rust"],"latest_commit_sha":null,"homepage":"https://docs.rs/best_skn_message/1.2.5/best_skn_message/","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/skn437.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-05-12T14:23:57.000Z","updated_at":"2025-10-23T06:07:18.000Z","dependencies_parsed_at":"2024-05-13T07:49:58.087Z","dependency_job_id":"050bba49-fd2f-479e-b7fb-1cf470b8c16a","html_url":"https://github.com/skn437/skn-rust-message","commit_stats":null,"previous_names":["skn437/skn-rust-message"],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/skn437/skn-rust-message","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skn437%2Fskn-rust-message","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skn437%2Fskn-rust-message/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skn437%2Fskn-rust-message/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skn437%2Fskn-rust-message/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/skn437","download_url":"https://codeload.github.com/skn437/skn-rust-message/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skn437%2Fskn-rust-message/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28723234,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-24T08:27:05.734Z","status":"ssl_error","status_checked_at":"2026-01-24T08:27:01.197Z","response_time":89,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["crates","library","message","rust"],"created_at":"2024-11-25T06:45:57.554Z","updated_at":"2026-01-24T09:32:51.742Z","avatar_url":"https://github.com/skn437.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SKN Rust Message Library\n\n\u003cimg width=\"150px\" src=\"https://firebasestorage.googleapis.com/v0/b/skn-ultimate-project-la437.appspot.com/o/GitHub%20Library%2F06-Rust-SRM.svg?alt=media\u0026token=31a6d76a-e240-458b-ae2a-9b90ec19a775\" alt=\"rust\" /\u003e\n\n\u003e Rust\n\n[![Crates IO](https://img.shields.io/crates/v/best_skn_message)](https://crates.io/crates/best_skn_message) [![MIT License](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/license/mit)\n\n\u0026nbsp;\n\n## **_RustDocs:_**\n\n### Read the Rustdoc for the main Module\n\n- [message](https://docs.rs/best_skn_message/1.2.5/best_skn_message/message/index.html)\n\n\u0026nbsp;\n\n## **_Introduction:_**\n\n### This is a simple Rust Library for notification message on console\n\n### I made this library so that I can use it in all of my rust projects without writing the same codes over and over again\n\n### The main Module of this library is `message` which holds 3 functions to return colored Strings \u0026 3 functions to output formatted static String notification messages\n\n\u0026nbsp;\n\n## **_Details:_**\n\n### **`message` Module:**\n\n- It has 3 functions which return colored Strings as output\n\n  - error (takes 1 argument \u0026 returns a red colored String with cross mark)\n  - success (takes 1 argument \u0026 returns a green colored String with tick mark)\n  - info (takes 1 argument \u0026 returns a blue colored String with book info mark)\n\n- It has 3 functions which outputs formatted static String notifications\n\n  - action_failure (takes 1 argument as 'action name' \u0026 outputs an action failure message)\n  - action_complete (takes 1 argument as 'action name' \u0026 outputs an action complete message)\n  - action_notify (takes 2 arguments as 'action name', 'notification info' \u0026 outputs an action info message)\n\n- The String returned by each function, doesn't contain new line character i.e. '\\n'\n\n\u0026nbsp;\n\n## **_Use Case:_**\n\n- Rust\n\n\u0026nbsp;\n\n## **_Requirements:_**\n\n- 💀 Minimum Rust Version: `1.80.0`\n\n\u0026nbsp;\n\n## **_Usage:_**\n\n### To install the package, type the following in console\n\n\u003e ```zsh\n\u003e cargo add best_skn_message\n\u003e ```\n\n### Inside your Rust Code, import the package like this\n\n\u003e ```rust\n\u003e use best_skn_message::message;\n\u003e ```\n\n### For `Message` Module, use like the following (Just an example)\n\n\u003e ```rust\n\u003e let error: String = message::error(\"Error occurred!\");\n\u003e panic!(\"{} \\n\", error);\n\u003e\n\u003e let success: String = message::success(\"Process completed!\");\n\u003e println!(\"{}\", success);\n\u003e\n\u003e let info: String = message::info(\"Process is safe to pause!\");\n\u003e println!(\"{}\", info);\n\u003e\n\u003e let failure: String = message::action_failure(\"Copy Files\"); // Action name as argument\n\u003e panic!(\"{} \\n\", failure);\n\u003e\n\u003e let complete: String = message::action_complete(\"Read Config File\"); // Action name as argument\n\u003e println!(\"{}\", complete);\n\u003e\n\u003e let notify: String = message::action_notify(\"Run Shell Scripts\", \"Safe to use without error!\"); // Action name \u0026 notification info message as arguments\n\u003e println!(\"{}\", notify);\n\u003e ```\n\n\u0026nbsp;\n\n## **_Dedicated To:_**\n\n- 👩‍🎨`Prodipta Das Logno` \u0026 🧛‍♀️`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.\n- 💯`My Parents`: The greatest treasures of my life ever.\n\n\u0026nbsp;\n\n## **_License:_**\n\nCopyright (C) 2024 SKN Shukhan\n\nLicensed under the MIT License\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskn437%2Fskn-rust-message","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fskn437%2Fskn-rust-message","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskn437%2Fskn-rust-message/lists"}