This is an automated email from the ASF dual-hosted git repository.
hubcio pushed a change to branch perf/rust-pre-merge-coverage
in repository https://gitbox.apache.org/repos/asf/iggy.git
from 560078694 perf(ci): avoid redundant Rust coverage builds
add f0d10d46b feat(swift): add the TCP and TLS client (#4503)
add eec664a24 Merge branch 'master' into perf/rust-pre-merge-coverage
No new revisions were added by this update.
Summary of changes:
foreign/swift/Package.resolved | 60 +
foreign/swift/Package.swift | 24 +-
foreign/swift/README.md | 74 +-
.../Sources/Iggy/Client/ClientConfiguration.swift | 142 +++
foreign/swift/Sources/Iggy/Client/ClientCore.swift | 1082 ++++++++++++++++++
.../Sources/Iggy/Client/IggyClient+Resources.swift | 195 ++++
foreign/swift/Sources/Iggy/Client/IggyClient.swift | 239 ++++
foreign/swift/Sources/Iggy/Errors/IggyError.swift | 28 +
.../swift/Sources/Iggy/Models/TopicOptions.swift | 3 +
.../swift/Sources/Iggy/Protocol/CommandCode.swift | 12 +
foreign/swift/Sources/Iggy/Protocol/Requests.swift | 6 +-
.../swift/Sources/Iggy/Transport/Endpoint.swift | 155 +++
.../Sources/Iggy/Transport/TCPConnection.swift | 295 +++++
.../swift/Sources/Iggy/Transport/TLSOptions.swift | 67 ++
.../swift/Sources/Iggy/Utilities/AsyncMutex.swift | 201 ++++
.../Tests/IggyTests/ClientTransportTests.swift | 1168 ++++++++++++++++++++
.../swift/Tests/IggyTests/ConcurrencyTests.swift | 209 ++++
.../swift/Tests/IggyTests/ConfigurationTests.swift | 120 ++
.../Tests/IggyTests/Support/FakeVSRServer.swift | 331 ++++++
.../Tests/IggyTests/Support/TestHelpers.swift | 64 ++
20 files changed, 4459 insertions(+), 16 deletions(-)
create mode 100644 foreign/swift/Package.resolved
create mode 100644 foreign/swift/Sources/Iggy/Client/ClientConfiguration.swift
create mode 100644 foreign/swift/Sources/Iggy/Client/ClientCore.swift
create mode 100644 foreign/swift/Sources/Iggy/Client/IggyClient+Resources.swift
create mode 100644 foreign/swift/Sources/Iggy/Client/IggyClient.swift
create mode 100644 foreign/swift/Sources/Iggy/Transport/Endpoint.swift
create mode 100644 foreign/swift/Sources/Iggy/Transport/TCPConnection.swift
create mode 100644 foreign/swift/Sources/Iggy/Transport/TLSOptions.swift
create mode 100644 foreign/swift/Sources/Iggy/Utilities/AsyncMutex.swift
create mode 100644 foreign/swift/Tests/IggyTests/ClientTransportTests.swift
create mode 100644 foreign/swift/Tests/IggyTests/ConcurrencyTests.swift
create mode 100644 foreign/swift/Tests/IggyTests/ConfigurationTests.swift
create mode 100644 foreign/swift/Tests/IggyTests/Support/FakeVSRServer.swift
create mode 100644 foreign/swift/Tests/IggyTests/Support/TestHelpers.swift