The core library of Teco, an open-source Tencent Cloud SDK for Swift.
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.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")]),
Teco Core is released under the Apache 2.0 license. See LICENSE.txt for details.
link |
Stars: 2 |
Last commit: 10 weeks ago |
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.
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.
TCDateWrapper
internals to use SPI by @stevapple in https://github.com/teco-project/teco-core/pull/54nonmutating set
on $TCDateWrapper
s by @stevapple in https://github.com/teco-project/teco-core/pull/55Full 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