Skip to content

Commit 6cee271

Browse files
authored
[ci skip] Update Swift support statement
1 parent 0ca8fb0 commit 6cee271

File tree

1 file changed

+2
-17
lines changed

1 file changed

+2
-17
lines changed

README.md

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -30,37 +30,22 @@ API documentation for `HTMLEntities` is located [here](https://ibm-swift.github.
3030

3131
## Version Info
3232

33-
Latest release of `HTMLEntities` runs on Swift 3 and 4. Tested on Swift 3.1.1 and Swift 4.0+ toolchains.
33+
Latest release of `HTMLEntities` requires Swift 4.0 and higher.
3434

3535
## Installation
3636

3737
### Via Swift Package Manager
3838

3939
Add `HTMLEntities` to your `Package.swift`:
4040

41-
Swift 3:
42-
43-
```swift
44-
import PackageDescription
45-
46-
let package = Package(
47-
name: "<package-name>",
48-
dependencies: [
49-
.Package(url: "https://github.com/IBM-Swift/swift-html-entities.git", majorVersion: 3, minor: 0)
50-
]
51-
)
52-
```
53-
54-
Swift 4:
55-
5641
```swift
5742
import PackageDescription
5843

5944
let package = Package(
6045
name: "<package-name>",
6146
...
6247
dependencies: [
63-
.package(url: "https://github.com/IBM-Swift/swift-html-entities.git", .upToNextMajor(from: "3.0.0")
48+
.package(url: "https://github.com/IBM-Swift/swift-html-entities.git", from: "3.0.0")
6449
]
6550
// Also, make sure to add HTMLEntities to your package target's dependencies
6651
)

0 commit comments

Comments
 (0)