minerals v2.3.3

A collection of utilities and patches that extend the functionality of crystal

Minerals

A collection of utilities and patches that extend the functionality of crystal.

Highly volatile, depend on a specific version!

Installation

  1. Add the dependency to your shard.yml:

    dependencies:
      minerals:
        github: nuclearsalmon/minerals
    
  2. Run shards install

Usage

Require the relevant packages. The base minerals package is required, and it automatically patches a minimal selection of utilities into the top level scope, but it does not touch any types.

require "minerals"
require "minerals/lowlevel/static_array"

Then, either use as modules:

Minerals::StaticArray.from_s("hello", 5)

...or patch it into crystal:

patch Minerals::StaticArray
StaticArray.from_s("hello", 5)
Repository

minerals

Owner
Statistic
  • 0
  • 0
  • 0
  • 0
  • 0
  • 17 days ago
  • June 4, 2025
License

MIT License

Links
Synced at

Wed, 30 Jul 2025 20:06:44 GMT

Languages