Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/a2/MessagePack.swift

It's like JSON, but fast and small…and Swift! – msgpack.org[Swift]
https://github.com/a2/MessagePack.swift

messagepack swift

Last synced: 3 months ago
JSON representation

It's like JSON, but fast and small…and Swift! – msgpack.org[Swift]

Awesome Lists containing this project

README

        

MessagePack.swift
=================

[![Version](https://img.shields.io/cocoapods/v/MessagePack.swift.svg?style=flat)](http://cocoapods.org/pods/MessagePack.swift)
[![License](https://img.shields.io/cocoapods/l/MessagePack.swift.svg?style=flat)](http://cocoapods.org/pods/MessagePack.swift)
[![Platform](https://img.shields.io/cocoapods/p/MessagePack.swift.svg?style=flat)](http://cocoapods.org/pods/MessagePack.swift)

A fast, zero-dependency MessagePack implementation written in Swift 4. Supports Apple platforms and Linux.

## Installation

### CocoaPods

To use CocoaPods, add the following to your Podfile:

```ruby
pod 'MessagePack.swift', '~> 4.0'
```

### Carthage

To use Carthage, add the following to your Cartfile:

```ogdl
github "a2/MessagePack.swift" ~> 4.0
```

### SPM (Swift Package Manager)

You can easily integrate MessagePack.swift in your app with SPM. Just add MessagePack.swift as a dependency:

```swift
import PackageDescription

let package = Package(
name: "MyAwesomeApp",
dependencies: [
.Package(url: "https://github.com/a2/MessagePack.swift.git", majorVersion: 4),
]
)
```

## Version

- Versions 4.x support Swift 5.2.
- Versions 3.x support Swift 4.
- Support for Swift 3 was dropped after [2.1.1](https://github.com/a2/MessagePack.swift/releases/tag/2.1.1).
- Support for Swift 2 was dropped after [1.2.0](https://github.com/a2/MessagePack.swift/releases/tag/1.2.0).

## Authors

Alexsander Akers, [email protected]

## License

MessagePack.swift is available under the MIT license. See the LICENSE file for more info.