Skip to content

First Release

Latest
Compare
Choose a tag to compare
@truewebber truewebber released this 24 Jun 01:23
· 3 commits to master since this release

πŸš€ 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