minerals v2.4.0
Minerals
A collection of utilities and patches that extend the functionality of crystal.
Highly volatile, depend on a specific version!
Installation
-
Add the dependency to your
shard.yml
:dependencies: minerals: github: nuclearsalmon/minerals
-
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
- 1
- 0
- 0
- 0
- 0
- 25 days ago
- June 4, 2025
License
MIT License
Links
Synced at
Thu, 11 Sep 2025 09:33:16 GMT
Languages