Commit Graph

12 Commits

Author SHA1 Message Date
Cory Benfield 59b966415d
Fix documentation and add infrastructure for CI-ing it (#169)
* Fix documentation and add infrastructure for CI-ing it

* Add 2023 to soundness
2023-04-11 13:35:16 +01:00
Cory Benfield 4e02d9cf35
Use Docc for documentation (#154)
Motivation

Documentation is nice, and we can help support users by providing useful
clear docs.

Modifications

Add Docc to 5.6 and later builds
Make sure symbol references work
Add overview docs

Result

Nice rendering docs
2022-07-29 15:02:01 +01:00
George Barnett 936bc0487a
Remove build_podspec.sh (#144)
Motivation:

We no longer support Cocoapods

Modifications:

- Remove build_podspec.sh

Result:

Fewer unused files
2022-05-04 11:03:16 +01:00
George Barnett cf4cd97ec2
Update podspec script (#143)
Motivation:

To workaround https://github.com/apple/swift-nio/issues/2073 we must
list all transitive dependencies when building podspecs.

Modifications:

- Include transitive dependencies in the build_podspec script
- The list of dependencies was generated using
  the `list_transitive_dependencies.py` from the NIO repo.

Result:

Podspec generation script includes transitive dependencies.
2022-05-03 09:58:06 +01:00
Cory Benfield e7f5278a26
Clean up imports and dependencies. (#130)
Motivation:

With NIO 2.32.0 we broke the core NIO module up into modules that split
apart the POSIX layer and the core abstractions. As a result, this
package no longer needs to express a hard dependency on the POSIX layer.

Modifications:

- Rewrote imports of NIO to NIOCore.
- Added NIOEmbedded imports where necessary in tests.
- Note that the main package still _depends_ on NIO, which is necessary
  for backwards-compatibility reasons. This dependency is unused.

Result:

No need to use NIOPosix.
2021-09-14 10:06:42 +01:00
David Evans 0aecfe8b3a
Remove Swift 5.0 and 5.1 support, and add CI config (#122)
* Setup CI and update Package

* Rename sanity to soundness

* Apply suggestions from code review

Co-authored-by: Cory Benfield <lukasa@apple.com>

* Fix nightly docker config

Co-authored-by: Cory Benfield <lukasa@apple.com>
2021-06-23 08:57:00 +01:00
George Barnett 18c17b9ae0
Add watchOS deployment to PodSpec build script (#107)
Motivation:

We support watchOS 6+ with SwiftNIO Transport Services; as such we should
include watchOS as a deployment target for our CocoaPods.

Modifications:

- Add a watchOS deployment target to `build_podspecs.sh`

Result:

Users can deploy to watchOS 6+ with CocoaPods.
2020-10-19 10:11:40 +01:00
George Barnett 7eeb0ca94c
Update build_podspec.sh to not use exact dependency versions (#93)
Motivation:

The build_podspec.sh script generates a podspec which requires exact
versions of its dependencies. This very quickly turns into unresolvable
dependency graphs.

Modifications:

NIO version passed to script must be in the format MAJOR.MINOR
Podspec dependencies are now '>= MAJOR.MINOR', '< MAJOR+1'

Result:

Looser version requirements for podspecs
2020-06-17 13:07:45 +01:00
Johannes Weiss cefc7014fc
fix license headers (#73) 2020-03-25 15:43:40 +00:00
George Barnett 3d0713dc43 Annotate code with availability attributes (#42)
* Annotate code with availability attributes

Motivation:

It was not possible to import NIOTS into a project where
Network.framework was not supported by all deployment targets.

Modifications:

All NIOTS code, where applicable, was annotated with availability
attributes.

Result:

It is possible for application developers to import NIOTS on platforms
which do not support Network.framework without a compile time error.
2019-05-10 19:02:02 +01:00
Johannes Weiss ca80d4047f update podspecs to NIO 2 (#33)
Motvation:

let's generate up to date podspecs

Modification:

update podspec

Result:

better podspec
2019-03-26 14:40:52 +00:00
Cory Benfield 94ef6a151c Add Cocoapods podspec generation. (#3)
Motivation:

A number of users have asked for the ability to install
NIOTransportServices via Cocoapods. This is an entirely reasonable
request, so let's do it.

Modifications:

Added a script that can generate, and optionally upload, a specfile
for NIOTransportServices.

Result:

Users can use cocoapods if they prefer.
2018-08-16 16:37:46 +01:00