From 139ac628fc415ae44edb5f36df218097e63e8113 Mon Sep 17 00:00:00 2001 From: Shane Qi Date: Sun, 4 Dec 2022 01:38:44 -0600 Subject: [PATCH] Lower swift requirement to 5.0. --- Package.swift | 4 ++-- README.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Package.swift b/Package.swift index c0c1e13..ad2253c 100644 --- a/Package.swift +++ b/Package.swift @@ -1,4 +1,4 @@ -// swift-tools-version:5.7 +// swift-tools-version:5.0 import PackageDescription @@ -18,7 +18,7 @@ let package = Package( name: "ZEGBot", dependencies: [], path: "./Sources"), - .executableTarget( + .target( name: "ZEGBotExample", dependencies: ["ZEGBot"], path: "./Example"), diff --git a/README.md b/README.md index 615335c..c541b72 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ This library wraps the processing of converting objects to Telegram Bot API requ Add this project as a dependency in your Package.swift file. ```swift -.package(url: "https://github.com/shaneqi/ZEGBot.git", from: Version(4, 2, 7)) +.package(url: "https://github.com/shaneqi/ZEGBot.git", from: Version(4, 2, 8)) ``` ## Quick Start