stdt

Crates.iostdt
lib.rsstdt
version0.0.7
created_at2025-08-31 12:37:23.681475+00
updated_at2025-12-04 21:05:09.554091+00
descriptionMinimal, zero-dependency standard tools to speed up your development workflow
homepage
repository
max_upload_size
id1818496
size86,164
Gioele Stefano Luca Fierro (gslf)

documentation

README

          __      .___ __   
  _______/  |_  __| _//  |_ 
 /  ___/\   __\/ __ |\   __\
 \___ \  |  | / /_/ | |  |  
/____  > |__| \____ | |__|  
     \/            \/       

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.
  • stdt::date::posix For posix timestamp.

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

Commit count: 0

cargo fmt