Ultra fast π, zero-dependency MessagePack impelementation in pure swift.
No recursion in decoding path π§ and very little additional memory allocation.
β β Star our github repository to help us! β β
Created by Serge Zenchenko (@sergeyzenchenko) for AppSpector
Supports Apple platforms and Linux.
Based on original MessagePack parser architecture. This is the only Swift version with streaming parsing support. Using this library you can parse endless streams of msgpack data without consuming all memory on your machine.
You can easily integrate MessagePack.swift in your app with SPM. Just add MessagePack.swift as a dependency:
import PackageDescription
let package = Package(
name: "CoolAppName",
dependencies: [
.Package(url: "https://github.com/appspector/msgpack-swift.git", majorVersion: 0.1),
]
)
Looking for better debugging instrument? Try AppSpector. With AppSpector you can remotely debug your app running in the same room or on another continent. You can measure app performance, view CoreData and SQLite content, logs, network requests and many more in realtime. This is the instrument that you've been looking for.
Serge Zenchenko, zen@appspector.com
msgpack-swift is available under the MIT license. See the LICENSE file for more info.