candied

Crates.iocandied
lib.rscandied
version0.1.1
created_at2025-12-19 18:37:10.88712+00
updated_at2025-12-19 20:18:21.997816+00
descriptionCandied - library that provides macros to reduce code size and adds syntactic sugar.
homepage
repositoryhttps://github.com/bjfssd757/candied-rs
max_upload_size
id1995262
size9,461
Slava (bjfssd757)

documentation

README

Candied-rs


Candied - Rust library that provides macros to add more syntactic sugar and reduce the amount of code.

Table of Contents

Functionality

  • Generating vectors in ranges and with conditions for each element
  • Macro for calling a function for all specified elements (with or without returning a result)
  • Switch-case construct
  • Macro similar to the ternary operator
  • Macro calling a block of code when exiting the scope of the function or code block where it was called

Documentation

Documentation is available here - https://docs.rs/candied/0.1.0/candied/

Commit count: 0

cargo fmt