Skip to content

Releases: truewebber/swift-protoparser

First Release

24 Jun 01:23
Compare
Choose a tag to compare

🚀 SwiftProtoParser v0.1.0 - First Release

The first comprehensive Swift library for parsing Protocol Buffers .proto files into AST and descriptors.

✨ Key Features

  • Complete Proto3 Support - All syntax including extend statements and qualified types
  • Enterprise Architecture - Dependency resolution, incremental parsing, thread safety
  • High Performance - Sub-millisecond parsing with smart caching
  • Production Quality - 1086 tests (100% passing), 95%+ code coverage

🚀 Quick Start

import SwiftProtoParser

// Basic parsing
let result = SwiftProtoParser.parseProtoFile("user.proto")

// With dependencies  
let result = SwiftProtoParser.parseProtoFileWithImports("main.proto", importPaths: ["/protos"])

// Generate SwiftProtobuf descriptors
let descriptors = SwiftProtoParser.parseProtoToDescriptors("service.proto")

📋 Platforms

  • macOS 12.0+, iOS 15.0+, Linux
  • Swift 5.9+
  • Only dependency: SwiftProtobuf 1.29.0+

🏆 Production Ready

Tested on real production .proto files with complete proto3 specification compliance. Ready for enterprise use with excellent performance and reliability.

📦 Installation

Swift Package Manager:

.package(url: "https://github.com/truewebber/swift-protoparser.git", from: "0.1.0")

CLI:

swift package add https://github.com/truewebber/swift-protoparser.git

MIT Licensed • Ready for Production Use • Community Contributions Welcome

#swift #protobuf #proto3 #parser #ast #grpc