msgpack
Version, currently 0.17.030 versions
- 1.3.5latestNov 24, 2025
- 1.3.4not indexedNov 24, 2025
- 1.3.3not indexedNov 24, 2025
- 1.3.2not indexedNov 24, 2025
- 1.3.1not indexedNov 24, 2025
- 1.3.0not indexedNov 24, 2025
- 1.2.0not indexedNov 24, 2025
- 1.1.0not indexedNov 24, 2025
- 1.0.0not indexedNov 24, 2025
- 0.17.2not indexedNov 24, 2025
- 0.17.1not indexedNov 24, 2025
- 0.17.0not indexedNov 24, 2025
- 0.16.1not indexedNov 24, 2025
- 0.16.0not indexedNov 24, 2025
- 0.15.0not indexedNov 24, 2025
- 0.14.2not indexedNov 24, 2025
- 0.14.1not indexedNov 24, 2025
- 0.14.0not indexedNov 24, 2025
- 0.13.1not indexedNov 24, 2025
- 0.13.0not indexedNov 24, 2025
- 0.12.1not indexedNov 24, 2025
- 0.12.0not indexedNov 24, 2025
- 0.11.1not indexedNov 24, 2025
- 0.11.0not indexedNov 24, 2025
- 0.10.0not indexedNov 24, 2025
- 0.9.1not indexedNov 24, 2025
- 0.9not indexedNov 24, 2025
- 0.8.0not indexedNov 24, 2025
- 0.7.1not indexedNov 24, 2025
- 0.7.0not indexedNov 24, 2025
github.com/crystal-community/msgpack-crystal
MessagePack implementation in Crystal msgpack.org[Crystal]
145 stars
3 dependents
License: MIT
Nothing has been indexed for 0.17.0 yet. The tag is recorded, its shard.yml has not been read, so the manifest and dependency list below are empty because they are unknown rather than because they are absent.
Installation
# Add this to your shard.yml
dependencies:
msgpack:
github: crystal-community/msgpack-crystal
version: ~> 0.17.0Then run:
shards installshard.yml
No shard.yml has been indexed for 0.17.0. You can read it on the repository.
Dependencies
Unknown: the shard.yml for this version has not been read yet.
README
This README is the one indexed from the repository at its latest ref, not from the tag for this version.
# MessagePack
[](https://github.com/crystal-community/msgpack-crystal/actions/workflows/ci.yml?query=branch%3Amaster+event%3Apush)
MessagePack implementation in Crystal.
## Installation
Add this to your application's `shard.yml`:
```yaml
dependencies:
msgpack:
github: crystal-community/msgpack-crystal
```
## Usage
```crystal
require "msgpack"
class Location
include MessagePack::Serializable
property lat : Float64
property lng : Float64
end
class House
include MessagePack::Serializable
property address : String
property location : Location?
end
house = House.from_msgpack({address: "Road12", location: {lat: 12.3, lng: 34.5}}.to_msgpack)
p house
# => <House:0x1b06de0 @address="Road12", @location=#<Location:0x1b06dc0 @lat=12.3, @lng=34.5>>
p house.to_msgpack
# => Bytes[130, 167, 97, 100, 100, 114, 101, 115, 115, 166, 82, 111, 97, 100, ...
house.address = "Something"
house = House.from_msgpack(house.to_msgpack)
p house
# => #<House:0x13f0d80 @address="Something", @location=#<Location:0x13f0d60 @lat=12.3, @lng=34.5>>
house = House.from_msgpack({"address" => "Crystal Road 1234"}.to_msgpack)
p house
# => <House:0x1b06d80 @address="Crystal Road 1234", @location=nil>
```
## More Examples
[examples](https://github.com/benoist/msgpack-crystal/tree/master/examples)
## Msgpack-RPC
[implemented by simple_rpc shard](https://github.com/kostya/simple_rpc)
## Copyright
Copyright 2015 Benoist Claassen
_Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License You may obtain a copy of the License at_
[http://www.apache.org/licenses/LICENSE-2.0](http://www.apache.org/licenses/LICENSE-2.0)
_Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License._
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This release
- Version
0.17.0- Tagged
- Nov 24, 2025
- Commit
f42255c29f60- Indexed
- not yet
Dependents
Repository
github.com/crystal-community/msgpack-crystal
Metadata
- Created
- Aug 12, 2026
- Updated
- Aug 12, 2026
- Synced
- Aug 12, 2026
- Versions
- 30