Browse Source

Update swift-argument-parser version (#1263)

Motivation:

Stable APIs are better than unstable APIs. swift-argument-parser has
released a 1.0.0 and now has a stable API.

Modifications:

Change swift-argument-parser version requirements to "from: 1.0.0"

Result:

Dependencies are more stable.
George Barnett 4 years ago
parent
commit
1b527c9a29
1 changed files with 1 additions and 2 deletions
  1. 1 2
      Package.swift

+ 1 - 2
Package.swift

@@ -47,8 +47,7 @@ let package = Package(
     .package(url: "https://github.com/apple/swift-log.git", from: "1.4.0"),
 
     // Argument parsing: only for internal targets (i.e. examples).
-    // swift-argument-parser only provides source compatibility guarantees between minor version.
-    .package(url: "https://github.com/apple/swift-argument-parser", "0.3.0" ..< "0.5.0"),
+    .package(url: "https://github.com/apple/swift-argument-parser.git", from: "1.0.0"),
   ],
   targets: [
     // The main GRPC module.