This is an automated email from the ASF dual-hosted git repository.
spetz pushed a change to branch reject_queued_offsets
in repository https://gitbox.apache.org/repos/asf/iggy.git
from 6cdb61283 Merge branch 'master' into reject_queued_offsets
add 917612d27 feat(swift): add XXH3 and XXH32 with golden vectors from the
Rust crates (#4306)
add 1a1183672 Merge branch 'master' into reject_queued_offsets
No new revisions were added by this update.
Summary of changes:
.github/actions/swift/pre-merge/action.yml | 35 +-
.github/config/components.yml | 5 +-
.gitignore | 2 +
.typos.toml | 2 +
core/binary_protocol/src/consensus/mod.rs | 2 +
core/binary_protocol/src/consensus/request.rs | 143 ++
core/sdk/src/vsr.rs | 71 +-
foreign/swift/Package.swift | 3 +-
foreign/swift/README.md | 13 +-
.../swift/Sources/Iggy/Errors/IggyErrorCode.swift | 4 +-
.../swift/Sources/Iggy/Hash/UnalignedLoads.swift | 18 +-
foreign/swift/Sources/Iggy/Hash/XXH3.swift | 273 ++++
foreign/swift/Sources/Iggy/Hash/XXH32.swift | 79 ++
foreign/swift/Tests/IggyTests/ErrorCodeTests.swift | 18 +-
foreign/swift/Tests/IggyTests/Fixtures/golden.json | 1004 ++++++++++++++
foreign/swift/Tests/IggyTests/HashTests.swift | 62 +
.../Tests/IggyTests/Support/GoldenFixture.swift | 73 +
.../swift/Tools/golden-vectors}/Cargo.toml | 22 +-
foreign/swift/Tools/golden-vectors/src/main.rs | 1435 ++++++++++++++++++++
19 files changed, 3172 insertions(+), 92 deletions(-)
create mode 100644 core/binary_protocol/src/consensus/request.rs
copy core/connectors/sdk/src/decoders/raw.rs =>
foreign/swift/Sources/Iggy/Hash/UnalignedLoads.swift (62%)
create mode 100644 foreign/swift/Sources/Iggy/Hash/XXH3.swift
create mode 100644 foreign/swift/Sources/Iggy/Hash/XXH32.swift
create mode 100644 foreign/swift/Tests/IggyTests/Fixtures/golden.json
create mode 100644 foreign/swift/Tests/IggyTests/HashTests.swift
create mode 100644 foreign/swift/Tests/IggyTests/Support/GoldenFixture.swift
copy {core/bench/dashboard/shared =>
foreign/swift/Tools/golden-vectors}/Cargo.toml (62%)
create mode 100644 foreign/swift/Tools/golden-vectors/src/main.rs