stdt 0.0.6

Minimal, zero-dependency standard tools to speed up your development workflow
Documentation
          __      .___ __   
  _______/  |_  __| _//  |_ 
 /  ___/\   __\/ __ |\   __\
 \___ \  |  | / /_/ | |  |  
/____  > |__| \____ | |__|  
     \/            \/       

Minimal, zero-dependency standard tools for Rust.|

READ THE DOCS

Available Tools

πŸ› οΈ stdt::utils

A lightweight collection of everyday coding utilities. Simple, dependency-free helpers to make common tasks faster and cleaner. These are the available functions:

  • stdt::utils::clear_cli Console clearing with raw ANSI escape sequences.
  • stdt::utils::type_of Find out what a value’s type is.
  • stdt::utils::dotenv Load enviroment variables from an .env file.
  • stdt::utils::random Minimal, non-cryptographic pseudo-random utilities.

Read the docs.

πŸ“„ stdt::json

A minimal yet complete implementation of JSON handling in. It defines a Value type that represents any JSON data and supports convenient conversions from native Rust types. A lightweight recursive descent parser turns JSON text into a Value while providing detailed error reporting, and a serializer implements Display to produce valid JSON strings with proper escaping and formatting.

Read the docs.

πŸ“„ stdt::date

Lightweight date management that support this formats:

  • stdt::date::iso8601 For ISO 8601 standard.
  • stdt::date::rcf3339 Fror RCF 3339 standard.

Read the docs.

🎯 Philosophy

  • Zero dependencies
  • Self-explanatory code with inline docs
  • Small, composable building blocks

πŸ“¦ Installation

Add to your Cargo.toml, or copy/paste individual files if you want ultimate minimalism.

[dependencies]

stdt = "0.0.6"

:#/ GSLF - https://gslf.it