Swiftpack.co - teco-project/teco-core as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by teco-project.
teco-project/teco-core v0.5.7
Core library of the Teco project.
⭐️ 2
🕓 26 weeks ago
iOS macOS watchOS tvOS linux macOS iOS
.package(url: "https://github.com/teco-project/teco-core.git", from: "v0.5.7")

Teco Core

The core library of Teco, an open-source Tencent Cloud SDK for Swift.

Overview

This package provides common functionalities around calling Tencent Cloud APIs, in the following products:

  • TecoCore. This provides helpers for calling Tencent Cloud API v3.
  • TecoSigner. This provides helpers for using Tencent Cloud v1, v3 and COS signing algorithms.

Usage

Add the following entry in your Package.swift:

.package(url: "https://github.com/teco-project/teco-core.git", "0.5.0"..<"0.6.0"),

and TecoCore dependency to your target:

.target(name: "MyApp", dependencies: [.product(name: "TecoCore", package: "teco-core")]),

If you only want signing functionality, use TecoSigner instead:

.target(name: "MyApp", dependencies: [.product(name: "TecoSigner", package: "teco-core")]),

License

Teco Core is released under the Apache 2.0 license. See LICENSE.txt for details.

GitHub

link
Stars: 2
Last commit: 10 weeks ago
Advertisement: IndiePitcher.com - Cold Email Software for Startups

Release Notes

0.5.7
26 weeks ago

Date wrapper enhancements

In this release we updated date wrappers to support concurrency-safe, non-mutating setters for the underlying string value. We also gated some implementation details behind @_spi(_TecoInternals), to avoid unexpected usage.

Announcement: Teco is going to require Swift 5.7+

Teco Core 0.5 is about to be the last minor release that supports Swift 5.5 and 5.6. The upcoming 0.6 release will take advantage of newer Swift features like some and any keywords, Sendable and strict concurrency checking, and more.

We recommend users moving forward to Swift 5.7+ for better generics and concurrency support.

What's Changed

Full Changelog: https://github.com/teco-project/teco-core/compare/v0.5.6...v0.5.7

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics