You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+24-6Lines changed: 24 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,12 +23,30 @@ Hello, World!
23
23
24
24
#### Swift Package Manager
25
25
26
-
You can use WasmKit as a [Swift Package Manager](https://www.swift.org/documentation/package-manager/) dependency by adding the following to your `Package.swift` file:
26
+
You can use WasmKit as a [Swift Package Manager](https://www.swift.org/documentation/package-manager/) dependency.
27
+
28
+
Run the following command to add the dependency:
29
+
30
+
```
31
+
swift package add-dependency https://github.com/swiftwasm/WasmKit --up-to-next-minor-from 0.1.6
32
+
swift package add-target-dependency WasmKit <your-package-target-name> --package WasmKit
33
+
```
34
+
35
+
You can also add the following snippet manually to your `Package.swift` file:
The minimum supported Swift version of WasmKit is 5.8, which is the version used to bootstrap the Swift toolchain in [ci.swift.org](https://ci.swift.org/).
96
+
The minimum supported version is Swift 6.0, which is the version used to bootstrap the Swift toolchain in [ci.swift.org](https://ci.swift.org/).
0 commit comments