SwiftAtproto

0.6.0

AT Protocol implementation in Swift
nnabeyang/swift-atproto

What's New

v0.6.0

2024-04-27T06:26:23Z

Updates

  • Remove redundant files, delete the output directory first
  • Add version information of swift-atproto to generated code

Fixes

  • Add prefixes to Swift file names to avoid conflicts

swift-atproto

swift-atproto is a atproto library.

Installation

SwiftPM

Add the SwiftAtproto as a dependency:

let package = Package(
    // name, platforms, products, etc.
    dependencies: [
        // other dependencies
        .package(url: "https://github.com/nnabeyang/swift-atproto", from: "0.6.0"),
    ],
    targets: [
        .executableTarget(name: "<executable-target-name>", dependencies: [
            // other dependencies
                .product(name: "SwiftAtproto", package: "swift-atproto"),
        ]),
        // other targets
    ]
)

CocoaPods

Add the following to your Podfile:

pod 'SwiftAtproto'

Usage

Code generation is done as follows:

swift package plugin --allow-writing-to-package-directory swift-atproto \
  --outdir <OUTPUT_DIR> \
  /path/to/bluesky-social/atproto/lexicons

License

swift-atproto is published under the MIT License, see LICENSE.

Author

Noriaki Watanabe@nnabeyang

Description

  • Swift Tools 5.9.0
View More Packages from this Author

Dependencies

Last updated: Fri May 03 2024 05:42:28 GMT-0900 (Hawaii-Aleutian Daylight Time)