Skip to content

Commit d6be3e1

Browse files
author
Firefox Sync Engineering
committed
Nightly auto-update (140.0.20250515050352)
1 parent 5e1196f commit d6be3e1

File tree

4 files changed

+81
-10
lines changed

4 files changed

+81
-10
lines changed

Package.swift

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
// swift-tools-version:5.4
22
import PackageDescription
33

4-
let checksum = "e68bb9827ed18e617597e95aff1d34fb9c709de453c4ac173c33ec4022a9399f"
5-
let version = "140.0.20250513050318"
6-
let url = "https://firefox-ci-tc.services.mozilla.com/api/index/v1/task/project.application-services.v2.swift.140.20250513050318/artifacts/public/build/MozillaRustComponents.xcframework.zip"
4+
let checksum = "96c70e62417ffa7494da5c3e0cf9fb1e1c69d5e016975c4780720e3bd61b1709"
5+
let version = "140.0.20250515050352"
6+
let url = "https://firefox-ci-tc.services.mozilla.com/api/index/v1/task/project.application-services.v2.swift.140.20250515050352/artifacts/public/build/MozillaRustComponents.xcframework.zip"
77

88
// Focus xcframework
9-
let focusChecksum = "e2a5be7d14295a0e629bc7e02ff84a4bbc631a55d9461fe7ba74763597bd2d19"
10-
let focusUrl = "https://firefox-ci-tc.services.mozilla.com/api/index/v1/task/project.application-services.v2.swift.140.20250513050318/artifacts/public/build/FocusRustComponents.xcframework.zip"
9+
let focusChecksum = "a2607bda8f9191fd1182ef23dda75944a6aa0f304f3bd7f5f0cffb6f868d30d0"
10+
let focusUrl = "https://firefox-ci-tc.services.mozilla.com/api/index/v1/task/project.application-services.v2.swift.140.20250515050352/artifacts/public/build/FocusRustComponents.xcframework.zip"
1111
let package = Package(
1212
name: "MozillaRustComponentsSwift",
1313
platforms: [.iOS(.v14)],

swift-source/all/Generated/Metrics/Metrics.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ extension GleanMetrics {
2323
// Intentionally left private, no external user can instantiate a new global object.
2424
}
2525

26-
public static let info = BuildInfo(buildDate: DateComponents(calendar: Calendar.current, timeZone: TimeZone(abbreviation: "UTC"), year: 2025, month: 5, day: 13, hour: 5, minute: 21, second: 33))
26+
public static let info = BuildInfo(buildDate: DateComponents(calendar: Calendar.current, timeZone: TimeZone(abbreviation: "UTC"), year: 2025, month: 5, day: 15, hour: 5, minute: 13, second: 15))
2727
}
2828

2929
enum NimbusEvents {

swift-source/all/Generated/suggest.swift

Lines changed: 74 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2730,7 +2730,7 @@ public enum Suggestion {
27302730
)
27312731
case amo(title: String, url: String, iconUrl: String, description: String, rating: String?, numberOfRatings: Int64, guid: String, score: Double
27322732
)
2733-
case yelp(url: String, title: String, icon: Data?, iconMimetype: String?, score: Double, hasLocationSign: Bool, subjectExactMatch: Bool, locationParam: String
2733+
case yelp(url: String, title: String, icon: Data?, iconMimetype: String?, score: Double, hasLocationSign: Bool, subjectExactMatch: Bool, subjectType: YelpSubjectType, locationParam: String
27342734
)
27352735
case mdn(title: String, url: String, description: String, score: Double
27362736
)
@@ -2775,7 +2775,7 @@ public struct FfiConverterTypeSuggestion: FfiConverterRustBuffer {
27752775
case 4: return .amo(title: try FfiConverterString.read(from: &buf), url: try FfiConverterString.read(from: &buf), iconUrl: try FfiConverterString.read(from: &buf), description: try FfiConverterString.read(from: &buf), rating: try FfiConverterOptionString.read(from: &buf), numberOfRatings: try FfiConverterInt64.read(from: &buf), guid: try FfiConverterString.read(from: &buf), score: try FfiConverterDouble.read(from: &buf)
27762776
)
27772777

2778-
case 5: return .yelp(url: try FfiConverterString.read(from: &buf), title: try FfiConverterString.read(from: &buf), icon: try FfiConverterOptionData.read(from: &buf), iconMimetype: try FfiConverterOptionString.read(from: &buf), score: try FfiConverterDouble.read(from: &buf), hasLocationSign: try FfiConverterBool.read(from: &buf), subjectExactMatch: try FfiConverterBool.read(from: &buf), locationParam: try FfiConverterString.read(from: &buf)
2778+
case 5: return .yelp(url: try FfiConverterString.read(from: &buf), title: try FfiConverterString.read(from: &buf), icon: try FfiConverterOptionData.read(from: &buf), iconMimetype: try FfiConverterOptionString.read(from: &buf), score: try FfiConverterDouble.read(from: &buf), hasLocationSign: try FfiConverterBool.read(from: &buf), subjectExactMatch: try FfiConverterBool.read(from: &buf), subjectType: try FfiConverterTypeYelpSubjectType.read(from: &buf), locationParam: try FfiConverterString.read(from: &buf)
27792779
)
27802780

27812781
case 6: return .mdn(title: try FfiConverterString.read(from: &buf), url: try FfiConverterString.read(from: &buf), description: try FfiConverterString.read(from: &buf), score: try FfiConverterDouble.read(from: &buf)
@@ -2845,7 +2845,7 @@ public struct FfiConverterTypeSuggestion: FfiConverterRustBuffer {
28452845
FfiConverterDouble.write(score, into: &buf)
28462846

28472847

2848-
case let .yelp(url,title,icon,iconMimetype,score,hasLocationSign,subjectExactMatch,locationParam):
2848+
case let .yelp(url,title,icon,iconMimetype,score,hasLocationSign,subjectExactMatch,subjectType,locationParam):
28492849
writeInt(&buf, Int32(5))
28502850
FfiConverterString.write(url, into: &buf)
28512851
FfiConverterString.write(title, into: &buf)
@@ -2854,6 +2854,7 @@ public struct FfiConverterTypeSuggestion: FfiConverterRustBuffer {
28542854
FfiConverterDouble.write(score, into: &buf)
28552855
FfiConverterBool.write(hasLocationSign, into: &buf)
28562856
FfiConverterBool.write(subjectExactMatch, into: &buf)
2857+
FfiConverterTypeYelpSubjectType.write(subjectType, into: &buf)
28572858
FfiConverterString.write(locationParam, into: &buf)
28582859

28592860

@@ -3039,6 +3040,76 @@ extension SuggestionProvider: Equatable, Hashable {}
30393040

30403041

30413042

3043+
// Note that we don't yet support `indirect` for enums.
3044+
// See https://github.com/mozilla/uniffi-rs/issues/396 for further discussion.
3045+
/**
3046+
* Subject type for Yelp suggestion.
3047+
*/
3048+
3049+
public enum YelpSubjectType : UInt8 {
3050+
3051+
case service = 0
3052+
case business = 1
3053+
}
3054+
3055+
3056+
#if compiler(>=6)
3057+
extension YelpSubjectType: Sendable {}
3058+
#endif
3059+
3060+
#if swift(>=5.8)
3061+
@_documentation(visibility: private)
3062+
#endif
3063+
public struct FfiConverterTypeYelpSubjectType: FfiConverterRustBuffer {
3064+
typealias SwiftType = YelpSubjectType
3065+
3066+
public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> YelpSubjectType {
3067+
let variant: Int32 = try readInt(&buf)
3068+
switch variant {
3069+
3070+
case 1: return .service
3071+
3072+
case 2: return .business
3073+
3074+
default: throw UniffiInternalError.unexpectedEnumCase
3075+
}
3076+
}
3077+
3078+
public static func write(_ value: YelpSubjectType, into buf: inout [UInt8]) {
3079+
switch value {
3080+
3081+
3082+
case .service:
3083+
writeInt(&buf, Int32(1))
3084+
3085+
3086+
case .business:
3087+
writeInt(&buf, Int32(2))
3088+
3089+
}
3090+
}
3091+
}
3092+
3093+
3094+
#if swift(>=5.8)
3095+
@_documentation(visibility: private)
3096+
#endif
3097+
public func FfiConverterTypeYelpSubjectType_lift(_ buf: RustBuffer) throws -> YelpSubjectType {
3098+
return try FfiConverterTypeYelpSubjectType.lift(buf)
3099+
}
3100+
3101+
#if swift(>=5.8)
3102+
@_documentation(visibility: private)
3103+
#endif
3104+
public func FfiConverterTypeYelpSubjectType_lower(_ value: YelpSubjectType) -> RustBuffer {
3105+
return FfiConverterTypeYelpSubjectType.lower(value)
3106+
}
3107+
3108+
3109+
extension YelpSubjectType: Equatable, Hashable {}
3110+
3111+
3112+
30423113
#if swift(>=5.8)
30433114
@_documentation(visibility: private)
30443115
#endif

swift-source/focus/Generated/Metrics/Metrics.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ extension GleanMetrics {
2323
// Intentionally left private, no external user can instantiate a new global object.
2424
}
2525

26-
public static let info = BuildInfo(buildDate: DateComponents(calendar: Calendar.current, timeZone: TimeZone(abbreviation: "UTC"), year: 2025, month: 5, day: 13, hour: 5, minute: 21, second: 36))
26+
public static let info = BuildInfo(buildDate: DateComponents(calendar: Calendar.current, timeZone: TimeZone(abbreviation: "UTC"), year: 2025, month: 5, day: 15, hour: 5, minute: 13, second: 17))
2727
}
2828

2929
enum NimbusEvents {

0 commit comments

Comments
 (0)