Skip to content

Commit 87f6686

Browse files
committed
Bump to v1.1.43 (matrix-rust-sdk/main 8e64341176e10794fb9036f393ba94f274e04741)
1 parent 62a4566 commit 87f6686

File tree

2 files changed

+33
-4
lines changed

2 files changed

+33
-4
lines changed

Package.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33

44
import PackageDescription
55

6-
let checksum = "11360f68a643a854bf9f5765d4541bbbc0bf76bbe2ef96357c1b1a125935f881"
7-
let version = "v1.1.42"
6+
let checksum = "5532a3149b0f2a9c26abe5e94ba18da9fb482ba8fea18e2f5a053c9ba6a1912a"
7+
let version = "v1.1.43"
88
let url = "https://github.com/matrix-org/matrix-rust-components-swift/releases/download/\(version)/MatrixSDKFFI.xcframework.zip"
99

1010
let package = Package(

Sources/MatrixRustSDK/matrix_sdk_ffi.swift

Lines changed: 31 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11257,14 +11257,20 @@ public func FfiConverterTypeTracingConfiguration_lower(_ value: TracingConfigura
1125711257
public struct TracingFileConfiguration {
1125811258
public var path: String
1125911259
public var filePrefix: String
11260+
public var fileSuffix: String?
11261+
public var maxFiles: UInt64?
1126011262

1126111263
// Default memberwise initializers are never public by default, so we
1126211264
// declare one manually.
1126311265
public init(
1126411266
path: String,
11265-
filePrefix: String) {
11267+
filePrefix: String,
11268+
fileSuffix: String?,
11269+
maxFiles: UInt64?) {
1126611270
self.path = path
1126711271
self.filePrefix = filePrefix
11272+
self.fileSuffix = fileSuffix
11273+
self.maxFiles = maxFiles
1126811274
}
1126911275
}
1127011276

@@ -11277,12 +11283,20 @@ extension TracingFileConfiguration: Equatable, Hashable {
1127711283
if lhs.filePrefix != rhs.filePrefix {
1127811284
return false
1127911285
}
11286+
if lhs.fileSuffix != rhs.fileSuffix {
11287+
return false
11288+
}
11289+
if lhs.maxFiles != rhs.maxFiles {
11290+
return false
11291+
}
1128011292
return true
1128111293
}
1128211294

1128311295
public func hash(into hasher: inout Hasher) {
1128411296
hasher.combine(path)
1128511297
hasher.combine(filePrefix)
11298+
hasher.combine(fileSuffix)
11299+
hasher.combine(maxFiles)
1128611300
}
1128711301
}
1128811302

@@ -11292,13 +11306,17 @@ public struct FfiConverterTypeTracingFileConfiguration: FfiConverterRustBuffer {
1129211306
return
1129311307
try TracingFileConfiguration(
1129411308
path: FfiConverterString.read(from: &buf),
11295-
filePrefix: FfiConverterString.read(from: &buf)
11309+
filePrefix: FfiConverterString.read(from: &buf),
11310+
fileSuffix: FfiConverterOptionString.read(from: &buf),
11311+
maxFiles: FfiConverterOptionUInt64.read(from: &buf)
1129611312
)
1129711313
}
1129811314

1129911315
public static func write(_ value: TracingFileConfiguration, into buf: inout [UInt8]) {
1130011316
FfiConverterString.write(value.path, into: &buf)
1130111317
FfiConverterString.write(value.filePrefix, into: &buf)
11318+
FfiConverterOptionString.write(value.fileSuffix, into: &buf)
11319+
FfiConverterOptionUInt64.write(value.maxFiles, into: &buf)
1130211320
}
1130311321
}
1130411322

@@ -15811,6 +15829,9 @@ public enum RoomListError {
1581115829
case InitializingTimeline(
1581215830
error: String
1581315831
)
15832+
case EventCache(
15833+
error: String
15834+
)
1581415835

1581515836
fileprivate static func uniffiErrorHandler(_ error: RustBuffer) throws -> Error {
1581615837
return try FfiConverterTypeRoomListError.lift(error)
@@ -15850,6 +15871,9 @@ public struct FfiConverterTypeRoomListError: FfiConverterRustBuffer {
1585015871
case 8: return .InitializingTimeline(
1585115872
error: try FfiConverterString.read(from: &buf)
1585215873
)
15874+
case 9: return .EventCache(
15875+
error: try FfiConverterString.read(from: &buf)
15876+
)
1585315877

1585415878
default: throw UniffiInternalError.unexpectedEnumCase
1585515879
}
@@ -15900,6 +15924,11 @@ public struct FfiConverterTypeRoomListError: FfiConverterRustBuffer {
1590015924
writeInt(&buf, Int32(8))
1590115925
FfiConverterString.write(error, into: &buf)
1590215926

15927+
15928+
case let .EventCache(error):
15929+
writeInt(&buf, Int32(9))
15930+
FfiConverterString.write(error, into: &buf)
15931+
1590315932
}
1590415933
}
1590515934
}

0 commit comments

Comments
 (0)