borchero / Squid

Declarative and Reactive Networking for Swift.
https://squid.borchero.com
MIT License
71 stars 6 forks source link

Add Package.swift definition #1

Closed aplr closed 5 years ago

aplr commented 5 years ago

As a package developer I want to copy/paste the dependency definition from the readme, which is missing here. You could add sth like that to the readme to simplify usage:

If you are developing a Swift package, adding Squid as a dependency is as easy as adding it to the dependencies value of your Package.swift like so:

dependencies: [
    .package(url: "https://github.com/borchero/Squid.git", from: "1.0.0")
]

See my PR #2

borchero commented 5 years ago

Fixed by PR #2