narangcia-cryptic-auth

Crates.ionarangcia-cryptic-auth
lib.rsnarangcia-cryptic-auth
version0.3.2
created_at2025-08-06 14:57:01.72131+00
updated_at2025-08-06 15:05:45.688831+00
descriptionA robust, modular, high-level, and secure authentication crate for Rust.
homepage
repositoryhttps://github.com/narangcia-oss/cryptic-auth
max_upload_size
id1783889
size351,716
Zied Yousfi (ZiedYousfi)

documentation

https://docs.rs/narangcia-cryptic-auth

README

cryptic

A robust and secure Rust crate for authentication, meticulously designed to provide a solid foundation for your applications. This library aims to deliver reliable and easy-to-use authentication primitives.

Features

  • Modular Design: Offers a high-level interface with a modular architecture, allowing for easy integration and customization.
  • User Management: Provides user registration, login, and management functionalities.
  • OAuth2 Support: Includes OAuth2 support for third-party authentication.
  • Secure Password Hashing: Utilizes modern algorithms like Argon2.
  • Session/Token Management: Supports JSON Web Tokens (JWT) with access and refresh tokens.
  • Robust and Secure Error Handling.
  • Asynchronous API: Built on async/await for optimal performance.
  • SQLX: Supports PostgreSQL via SQLX. (Optional)
  • Web Server: Supports web server via Axum. (Optional)

Quick Start

Add this line to your Cargo.toml:

[dependencies]
narangcia-cryptic = { version = "0.3.0", features = ["full"] }

Development

Prerequisites

  • Rust stable (2021 edition or newer)
  • Cargo (installed with Rust)

Running Tests

cargo test

Running Benchmarks

cargo bench

Checking Format and Linting

cargo fmt --check
cargo clippy -- -D warnings

Contribution

Contributions are welcome! Please see CONTRIBUTING.md for more details.

License

This project is licensed under the Apache-2.0 License.


Developed by Zied.

Commit count: 0

cargo fmt