@@ -23,6 +23,8 @@ extension AuthorizationProviding {
23
23
which is only available in macOS 10.13+, iOS 11+, etc at this time.
24
24
*/
25
25
/// Container of parsed netrc connection settings
26
+ // FIXME: deprecate 2/2022, remove once clients transitioned
27
+ @available ( * , deprecated, message: " moved to SwiftPM " )
26
28
@available ( macOS 10 . 13 , iOS 11 , tvOS 11 , watchOS 4 , * )
27
29
public struct Netrc {
28
30
/// Representation of `machine` connection settings & `default` connection settings.
@@ -98,6 +100,8 @@ public struct Netrc {
98
100
@available ( macOS 10 . 13 , iOS 11 , tvOS 11 , watchOS 4 , * )
99
101
extension Netrc : AuthorizationProviding { }
100
102
103
+ // FIXME: deprecate 2/2022, remove once clients transitioned
104
+ @available ( * , deprecated, message: " moved to SwiftPM " )
101
105
@available ( macOS 10 . 13 , iOS 11 , tvOS 11 , watchOS 4 , * )
102
106
public extension Netrc {
103
107
enum Error : Swift . Error {
@@ -136,13 +140,17 @@ public extension Netrc {
136
140
}
137
141
}
138
142
143
+ // FIXME: deprecate 2/2022, remove once clients transitioned
144
+ @available ( * , deprecated, message: " moved to SwiftPM " )
139
145
@available ( macOS 10 . 13 , iOS 11 , tvOS 11 , watchOS 4 , * )
140
146
extension Netrc . Error : CustomNSError {
141
147
public var errorUserInfo : [ String : Any ] {
142
148
return [ NSLocalizedDescriptionKey: " \( self ) " ]
143
149
}
144
150
}
145
151
152
+ // FIXME: deprecate 2/2022, remove once clients transitioned
153
+ @available ( * , deprecated, message: " moved to SwiftPM " )
146
154
@available ( macOS 10 . 13 , iOS 11 , tvOS 11 , watchOS 4 , * )
147
155
fileprivate enum RegexUtil {
148
156
@frozen fileprivate enum Token : String , CaseIterable {
0 commit comments