|0.0.1||Feb 5, 2023|
#4 in #hsh
50 downloads per month
Used in 2 crates (via cjwt)
A Rust library for managing errors and exceptions
Welcome to IDK 👋
IDontKnow (IDK) is a Rust library that has functions and variables designed to make it easy for your program to report informative error messages. You can use the IDK library to create error messages that are clear, concise, and actionable.
The library includes multiple modules:
- The common module: This module provides a foundation of common errors that can be utilized throughout the entire project. These functionalities serve as a building block for the rest of the project, making it easier for developers to create and manage their code.
- The error module: This module contains all the error types that are used in the project. By providing a centralized location for errors, developers can quickly and easily identify and resolve any issues that may arise.
- The jwt module: This module offers the tools necessary to encode and decode JSON Web Tokens (JWT). With a simple, easy-to-use interface, developers can ensure secure communication between parties.
- The property module: This module provides the functionality to create and manage properties. By utilizing this module, developers can keep track of all properties within the project and make changes as necessary.
- The stacktrace module: This module offers the tools to create and manage stacktraces. By providing detailed information about the execution of the code, developers can quickly identify and resolve any issues that may arise.
- The traits module: This module provides functionality to create and manage traits. By utilizing this module, developers can ensure that all traits within the project are consistent and well-defined.
It takes just a few minutes to get up and running with
idk requires Rust 1.67.0 or later.
idk in your project, add the following to your
[dependencies] idk = "0.0.1"
Add the following to your
extern crate idk; use idk::*;
then you can use the functions in your application code.
IDK comes with a set of examples that you can use to get started. The
examples are located in the
examples directory of the project. To run
the examples, clone the repository and run the following command in your
terminal from the project root directory.
cargo run --example idk
Semantic Versioning Policy 🚥
For transparency into our release cycle and in striving to maintain
IDK follows semantic versioning.
The project is licensed under the terms of both the MIT license and the Apache License (Version 2.0).
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
A big thank you to all the awesome contributors of Mini Functions for their help and support.