#hash-set #range-inclusive #project #utilities #cutoff-common

cutoff-common

A collection of common utilities and helpers used across Cutoff projects

1 unstable release

new 0.9.0 May 16, 2025

#16 in #hash-set

MIT/Apache

55KB
807 lines

cutoff-common

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

Features

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

Usage

Add this to your Cargo.toml:

[dependencies]
cutoff-common = { path = "../path/to/cutoff-common" }

To enable optional features:

[dependencies]
cutoff-common = { path = "../path/to/cutoff-common", features = ["serde", "tracing-subscriber"] }

⚠️ Warning

This crate is meant to be used internally by the Cutoff projects and crates as a dependency. It is not meant to be used by external projects. No effort will be made in terms of backward-compatibility.

License

Licensed under either of:

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~5–7.5MB
~131K SLoC