A fast, safe, and efficient CBOR serialization library for Swift on any platform. swiftpackageindex.com/thecoolwinter/CBOR/1.1.1/documentation/cbor
atproto swift cbor

Update README, Update CI, Build on Swift 6

+7 -5
+1 -1
.github/workflows/ci.yml
··· 30 30 uses: actions/checkout@v5 31 31 - uses: swift-actions/setup-swift@v2 32 32 with: 33 - swift-version: "6.0" 33 + swift-version: "6.1" 34 34 - name: Testing Package 35 35 run: set -o pipefail && swift test | xcbeautify 36 36 - name: Building Fuzzing Target
+1 -1
Package.swift
··· 24 24 ), 25 25 .testTarget( 26 26 name: "CBORTests", 27 - dependencies: ["CBOR"], 27 + dependencies: ["CBOR"] 28 28 ) 29 29 ] 30 30 )
+4 -2
README.md
··· 1 - 2 - 3 1 <p align="center"> 4 2 <img src="https://github.com/thecoolwinter/CBOR/blob/main/.github/Icon-256.png?raw=true" height="128"> 5 3 <h1 align="center">CBOR</h1> 6 4 </p> 5 + 6 + <div align="center"> 7 + <a href="">![CI Status](https://img.shields.io/github/actions/workflow/status/thecoolwinter/CBOR/ci.yml)</a> 8 + </div> 7 9 8 10 [CBOR](https://cbor.io/) is a flexible data format that emphasizes extremely small code size, small message size, and extendability. This library provides a Swift API for encoding and decoding Swift types using the CBOR serialization format. 9 11
+1 -1
Sources/CBOR/Encoder/CBOREncoder.swift
··· 26 26 /// - dateEncodingStrategy: See ``EncodingOptions/dateEncodingStrategy``. 27 27 public init( 28 28 forceStringKeys: Bool = false, 29 - dateEncodingStrategy: EncodingOptions.DateStrategy = .double, 29 + dateEncodingStrategy: EncodingOptions.DateStrategy = .double 30 30 ) { 31 31 options = EncodingOptions( 32 32 forceStringKeys: forceStringKeys,