Thanks to visit codestin.com
Credit goes to lib.rs

#snippets #gist #utilities

sniplets

A collection of handy utility functions for Rust projects

2 unstable releases

Uses new Rust 2024

0.2.0 Jul 24, 2025
0.1.0 Jul 24, 2025

#533 in Development tools

31 downloads per month

MIT/Apache

9KB
146 lines

sniplets-rs

A collection of handy utility functions for Rust projects.

crates.io docs.rs

This repository serves as a library of reusable code snippets for Rust projects.

Recommended usage: Instead of adding this project as a direct dependency, it is advised to copy the specific utility functions you need into your own project. This approach helps keep your dependencies minimal and gives you full control over the code.

Usage as a Direct Dependency

If you prefer to use this project as a direct dependency, you can add it to your Cargo.toml:

cargo add sniplets

Modules

All modules that require any external dependencies are behind feature flags.

path

Contains utility functions for working with file paths.

quick_xml

Provides utility functions for working with XML files using the quick-xml crate.

  • Feature flag: quick_xml
  • Dependencies:
    • quick-xml
    • serde

Dependencies

~0–475KB