Swift Package Index


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


  • The latest stable release is 4.0.0. Released 7 months ago.
  • The last commit to master was 7 months ago.

Swift Version Compatibility

  • 4.0.0 and master
    5.3
    5.2
    5.1
    5.0
    4.2
Full build results

Platform Compatibility

  • 4.0.0 and master
    iOS
    macOS(Intel)
    macOS(ARM)
    Linux
    tvOS
    watchOS
Full build results

MessagePack.swift

Version License Platform

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:

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

Carthage

To use Carthage, add the following to your Cartfile:

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:

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.
  • Support for Swift 2 was dropped after 1.2.0.

Authors

Alexsander Akers, me@a2.io

License

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