Motivation:
We've been asked to enable building swift-nio with CMake, and the
request isn't totally outrageous, so we're gonna do it.
Modifications:
- Add CI for our cmake rules
- Provide missing module.modulemap files.
- Add CMakeLists skeletons as needed.
Result:
Builds with CMake work now.
Split FoundationEssentials extensions from NIOFoundationCompat
### Motivation:
Resolves#3038
### Modifications:
Split NIOFoundationCompat into two and only import FoundationEssentials
and NIOFoundationEssentialsCompat where appropriate.
### Result:
ByteBuffer/Codable extensions can be used without vendoring the code or
linking to Foundation.
Co-authored-by: Johannes Weiss <johannesweiss@apple.com>
Co-authored-by: Fabian Fett <fabianfett@apple.com>
Motivation:
We accidentally removed the 'NIOFileSystem' module from the
'_NIOFileSystem' product in the last release.
Modifications:
- Rename 'NIOFileSystem' and 'NIOFileSystemFoundationCompat' to 'NIOFS'
and 'NIOFSFoundationCompat'
- Add back 'NIOFileSystem' which re-exports '_NIOFileSystem' (there was
no publicly available 'NIOFileSystemFoundationCompat' module to
remove, only '_NIOFileSystemFoundationCompat').
Result:
Fewer breaks