1 unstable release

new 0.1.0 Dec 14, 2024

#1215 in Rust patterns

Download history 123/week @ 2024-12-09

123 downloads per month

MIT license

19KB
483 lines

Just Neat Things

This is a crate where I put things of cross-cutting applicability that I don't consider big enough for their own crate. The tenets of this library are:

  • Minimal dependencies: Limit dependencies where possible. Big dependencies may be quarantined behind features.
  • API stability: It is intended to remain API-stable for existing features.
  • Well-tested: All modules that conatin non-trivial code must contain appropriate unit tests.

The key features supported are:

  • Collection of helpful macros to eliminate common boilerplate associated with envvars, errors, parsing, and once_cell primitives
  • Suite of parsing helper functions, intended for use with the environment variable helpers
  • Platform-independent socket helpers, including support for socket configuration by URI strings
  • Extension traits to bridge contains interfaces with phf and once_cell structures

Dependencies

~3–4MB
~73K SLoC