Crate cutoff_common

Crate cutoff_common 

Source
Expand description

§Cutoff Common

A collection of common utilities and helpers used across Cutoff projects.

This crate provides various utility traits, functions, and modules that are commonly used throughout the Cutoff ecosystem.

§Features

  • Common traits like IntoOk and MaybeFrom
  • Thread utilities
  • Collections utilities
  • I/O utilities
  • URN handling
  • Optional logging utilities (with the tracing-subscriber feature)
  • Optional serialization support (with the serde feature)

Modules§

collections
Collections Utilities
io
I/O utilities for file and directory operations.
urn
Utilities for working with Uniform Resource Names (URNs).

Traits§

IntoOk
A trait for converting a value into a Result::Ok variant.
MaybeFrom
A trait for attempting to convert from one type to another.

Functions§

thread_spawn
Creates a new thread with the specified name and executes the provided function.