Skip to content

Commit

Permalink
4.14.0
Browse files Browse the repository at this point in the history
  • Loading branch information
dankinsoid committed Mar 15, 2024
1 parent ea668fb commit f16bed0
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 4 deletions.
Binary file modified .DS_Store
Binary file not shown.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ import PackageDescription
let package = Package(
name: "SomeProject",
dependencies: [
.package(url: "https://github.com/dankinsoid/VDFlow.git", from: "4.13.0")
.package(url: "https://github.com/dankinsoid/VDFlow.git", from: "4.14.0")
],
targets: [
.target(name: "SomeProject", dependencies: ["VDFlow"])
Expand Down
2 changes: 1 addition & 1 deletion Sources/VDFlow/EmptyStep.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import Foundation

public struct EmptyStep: Hashable, Codable, CustomStringConvertible {
public struct EmptyStep: Hashable, Codable, CustomStringConvertible, Sendable {

private var updater = false
public var description: String { "EmptyStep" }
Expand Down
1 change: 1 addition & 0 deletions Sources/VDFlow/StepWrapper.swift
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ public extension StepWrapper {
}
}

extension StepWrapper: Sendable where Value: Sendable {}
extension StepWrapper: Equatable where Value: Equatable {}
extension StepWrapper: Hashable where Value: Hashable {}
extension StepWrapper: Decodable where Value: Decodable {}
Expand Down
2 changes: 1 addition & 1 deletion Sources/VDFlow/StepsCollection.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import Foundation

public protocol StepsCollection where Steps.RawValue == String {

associatedtype Steps: RawRepresentable & CaseIterable & Hashable & Codable
associatedtype Steps: RawRepresentable & CaseIterable & Hashable & Codable & Sendable
var selected: Steps? { get set }
}

Expand Down
2 changes: 1 addition & 1 deletion Sources/VDFlowMacros/StepsMacro.swift
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ public struct StepsMacro: MemberAttributeMacro, ExtensionMacro, MemberMacro, Acc
"""
public var selected: Steps?
\(raw: initStr)
public enum Steps: String, CaseIterable, Codable {
public enum Steps: String, CaseIterable, Codable, Sendable {
case \(raw: cases.joined(separator: ", "))
}
"""
Expand Down

0 comments on commit f16bed0

Please sign in to comment.