goloveychuk / ZeroMQ

ZeroMQ for Swift
MIT License
92 stars 29 forks source link

Swift 5 Compatibility #20

Open cryptoAlgorithm opened 1 year ago

cryptoAlgorithm commented 1 year ago

This adds swift-tools-version to the top of Package.swift for compatibility with SPM for Swift versions 5 (and up), as well as some file restructuring to place everything where SPM expects it to be.

This prerequisite PR: https://github.com/ZewoGraveyard/CZeroMQ/pull/8 would need to be merged before this, as it relies on a similar change the PR makes in the dependancy.

cryptoAlgorithm commented 1 year ago

Do note that until my corresponding PR in a dependancy (https://github.com/ZewoGraveyard/CZeroMQ/pull/8) has been merged, you'll have to change the dependancy in Package.swift to point to my fork, which contains the required change.

hungeric commented 10 months ago

Hello @cryptoAlgorithm which version of libzmq did you try with? 4.3.6?