Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
name: build-test
on:
push:
branches: [main]
pull_request:
branches: [main]

Expand Down
1 change: 1 addition & 0 deletions .github/workflows/pre-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ jobs:
files: loroFFI.xcframework.zip
draft: false
prerelease: false
generate_release_notes: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Expand Down
58 changes: 29 additions & 29 deletions Sources/Loro/LoroFFI.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8797,7 +8797,7 @@ public struct AbsolutePosition {
}



extension AbsolutePosition: Sendable {}
extension AbsolutePosition: Equatable, Hashable {
public static func ==(lhs: AbsolutePosition, rhs: AbsolutePosition) -> Bool {
if lhs.pos != rhs.pos {
Expand Down Expand Up @@ -8863,7 +8863,7 @@ public struct AwarenessPeerUpdate {
}



extension AwarenessPeerUpdate: Sendable {}
extension AwarenessPeerUpdate: Equatable, Hashable {
public static func ==(lhs: AwarenessPeerUpdate, rhs: AwarenessPeerUpdate) -> Bool {
if lhs.updated != rhs.updated {
Expand Down Expand Up @@ -9035,7 +9035,7 @@ public struct CommitOptions {
}



extension CommitOptions: Sendable {}
extension CommitOptions: Equatable, Hashable {
public static func ==(lhs: CommitOptions, rhs: CommitOptions) -> Bool {
if lhs.origin != rhs.origin {
Expand Down Expand Up @@ -9244,7 +9244,7 @@ public struct ContainerPath {
}



extension ContainerPath: Sendable {}
extension ContainerPath: Equatable, Hashable {
public static func ==(lhs: ContainerPath, rhs: ContainerPath) -> Bool {
if lhs.id != rhs.id {
Expand Down Expand Up @@ -9310,7 +9310,7 @@ public struct CounterSpan {
}



extension CounterSpan: Sendable {}
extension CounterSpan: Equatable, Hashable {
public static func ==(lhs: CounterSpan, rhs: CounterSpan) -> Bool {
if lhs.start != rhs.start {
Expand Down Expand Up @@ -9552,7 +9552,7 @@ public struct Id {
}



extension Id: Sendable {}
extension Id: Equatable, Hashable {
public static func ==(lhs: Id, rhs: Id) -> Bool {
if lhs.peer != rhs.peer {
Expand Down Expand Up @@ -9618,7 +9618,7 @@ public struct IdLp {
}



extension IdLp: Sendable {}
extension IdLp: Equatable, Hashable {
public static func ==(lhs: IdLp, rhs: IdLp) -> Bool {
if lhs.lamport != rhs.lamport {
Expand Down Expand Up @@ -9684,7 +9684,7 @@ public struct IdSpan {
}



extension IdSpan: Sendable {}
extension IdSpan: Equatable, Hashable {
public static func ==(lhs: IdSpan, rhs: IdSpan) -> Bool {
if lhs.peer != rhs.peer {
Expand Down Expand Up @@ -9846,7 +9846,7 @@ public struct ImportStatus {
}



extension ImportStatus: Sendable {}
extension ImportStatus: Equatable, Hashable {
public static func ==(lhs: ImportStatus, rhs: ImportStatus) -> Bool {
if lhs.success != rhs.success {
Expand Down Expand Up @@ -9956,7 +9956,7 @@ public struct PathItem {
}



extension PathItem: Sendable {}
extension PathItem: Equatable, Hashable {
public static func ==(lhs: PathItem, rhs: PathItem) -> Bool {
if lhs.container != rhs.container {
Expand Down Expand Up @@ -10024,7 +10024,7 @@ public struct PeerInfo {
}



extension PeerInfo: Sendable {}
extension PeerInfo: Equatable, Hashable {
public static func ==(lhs: PeerInfo, rhs: PeerInfo) -> Bool {
if lhs.state != rhs.state {
Expand Down Expand Up @@ -10142,7 +10142,7 @@ public struct StyleConfig {
}



extension StyleConfig: Sendable {}
extension StyleConfig: Equatable, Hashable {
public static func ==(lhs: StyleConfig, rhs: StyleConfig) -> Bool {
if lhs.expand != rhs.expand {
Expand Down Expand Up @@ -10200,7 +10200,7 @@ public struct TreeDiff {
}



extension TreeDiff: Sendable {}
extension TreeDiff: Equatable, Hashable {
public static func ==(lhs: TreeDiff, rhs: TreeDiff) -> Bool {
if lhs.diff != rhs.diff {
Expand Down Expand Up @@ -10260,7 +10260,7 @@ public struct TreeDiffItem {
}



extension TreeDiffItem: Sendable {}
extension TreeDiffItem: Equatable, Hashable {
public static func ==(lhs: TreeDiffItem, rhs: TreeDiffItem) -> Bool {
if lhs.target != rhs.target {
Expand Down Expand Up @@ -10326,7 +10326,7 @@ public struct TreeId {
}



extension TreeId: Sendable {}
extension TreeId: Equatable, Hashable {
public static func ==(lhs: TreeId, rhs: TreeId) -> Bool {
if lhs.peer != rhs.peer {
Expand Down Expand Up @@ -10440,7 +10440,7 @@ public struct UpdateOptions {
}



extension UpdateOptions: Sendable {}
extension UpdateOptions: Equatable, Hashable {
public static func ==(lhs: UpdateOptions, rhs: UpdateOptions) -> Bool {
if lhs.timeoutMs != rhs.timeoutMs {
Expand Down Expand Up @@ -10518,7 +10518,7 @@ public struct VersionVectorDiff {
}



extension VersionVectorDiff: Sendable {}
extension VersionVectorDiff: Equatable, Hashable {
public static func ==(lhs: VersionVectorDiff, rhs: VersionVectorDiff) -> Bool {
if lhs.retreat != rhs.retreat {
Expand Down Expand Up @@ -10772,7 +10772,7 @@ public func FfiConverterTypeContainerID_lower(_ value: ContainerId) -> RustBuffe
}



extension ContainerId: Sendable {}
extension ContainerId: Equatable, Hashable {}


Expand Down Expand Up @@ -10874,7 +10874,7 @@ public func FfiConverterTypeContainerType_lower(_ value: ContainerType) -> RustB
}



extension ContainerType: Sendable {}
extension ContainerType: Equatable, Hashable {}


Expand Down Expand Up @@ -11061,7 +11061,7 @@ public func FfiConverterTypeEventTriggerKind_lower(_ value: EventTriggerKind) ->
}



extension EventTriggerKind: Sendable {}
extension EventTriggerKind: Equatable, Hashable {}


Expand Down Expand Up @@ -11139,7 +11139,7 @@ public func FfiConverterTypeExpandType_lower(_ value: ExpandType) -> RustBuffer
}



extension ExpandType: Sendable {}
extension ExpandType: Equatable, Hashable {}


Expand Down Expand Up @@ -11219,7 +11219,7 @@ public func FfiConverterTypeIndex_lower(_ value: Index) -> RustBuffer {
}



extension Index: Sendable {}
extension Index: Equatable, Hashable {}


Expand Down Expand Up @@ -11922,7 +11922,7 @@ public func FfiConverterTypeLoroValue_lower(_ value: LoroValue) -> RustBuffer {
}



extension LoroValue: Sendable {}
extension LoroValue: Equatable, Hashable {}


Expand Down Expand Up @@ -11993,7 +11993,7 @@ public func FfiConverterTypeOrdering_lower(_ value: Ordering) -> RustBuffer {
}



extension Ordering: Sendable {}
extension Ordering: Equatable, Hashable {}


Expand Down Expand Up @@ -12064,7 +12064,7 @@ public func FfiConverterTypeSide_lower(_ value: Side) -> RustBuffer {
}



extension Side: Sendable {}
extension Side: Equatable, Hashable {}


Expand Down Expand Up @@ -12146,7 +12146,7 @@ public func FfiConverterTypeTextDelta_lower(_ value: TextDelta) -> RustBuffer {
}



extension TextDelta: Sendable {}
extension TextDelta: Equatable, Hashable {}


Expand Down Expand Up @@ -12233,7 +12233,7 @@ public func FfiConverterTypeTreeExternalDiff_lower(_ value: TreeExternalDiff) ->
}



extension TreeExternalDiff: Sendable {}
extension TreeExternalDiff: Equatable, Hashable {}


Expand Down Expand Up @@ -12314,7 +12314,7 @@ public func FfiConverterTypeTreeParentId_lower(_ value: TreeParentId) -> RustBuf
}



extension TreeParentId: Sendable {}
extension TreeParentId: Equatable, Hashable {}


Expand Down Expand Up @@ -12378,7 +12378,7 @@ public func FfiConverterTypeUndoOrRedo_lower(_ value: UndoOrRedo) -> RustBuffer
}



extension UndoOrRedo: Sendable {}
extension UndoOrRedo: Equatable, Hashable {}


Expand Down
2 changes: 1 addition & 1 deletion loro-rs/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion loro-rs/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "loro-swift"
version = "1.4.0"
version = "1.4.1"
edition = "2021"

[lib]
Expand Down
3 changes: 3 additions & 0 deletions loro-rs/uniffi.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[bindings.swift]
module_name = "loro"
experimental_sendable_value_types = true
Loading