Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fusion/crystal-pack
A partial implementation of pack() and unpack() for the Crystal language
https://github.com/fusion/crystal-pack
Last synced: about 1 month ago
JSON representation
A partial implementation of pack() and unpack() for the Crystal language
- Host: GitHub
- URL: https://github.com/fusion/crystal-pack
- Owner: Fusion
- License: apache-2.0
- Created: 2016-02-14T23:18:55.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-02-14T23:21:28.000Z (almost 9 years ago)
- Last Synced: 2024-10-16T08:19:03.745Z (3 months ago)
- Language: Crystal
- Size: 15.6 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# crystal-pack
A library that aims to provide the pack() and unpack() methods to make
porting Ruby code to Crystal easier.Far from complete so far at this covers a pretty broad feature set.
## Installation
Currently from source only:
1. `git clone https://github.com/Fusion/crystal-pack.git`
2. `lake` will build the small C dependency
3. `crystal build src/crystal-pack.cr`### Why the C dependency?
Well, you could easily remove it from the project if you do not care about
the semantics of using "!" as a modifier (== "use native sizes")## Usage
This library adds pack() and unpack() to String and Array.
Again, this is not fully developed yet.
## Development
The usual. If you wish to help, use Github's pull requests.
## Contributing
1. Fork it ( https://github.com/fusion/crystal-pack/fork )
2. Create your feature branch (git checkout -b my-new-feature)
3. Commit your changes (git commit -am 'Add some feature')
4. Push to the branch (git push origin my-new-feature)
5. Create a new Pull Request## Contributors
- [[Chris Ravenscroft]](https://github.com/fusion) - creator, maintainer