15 Commits
Author SHA1 Message Date
Rick Newton-Rogers 71572c3592 Only apply standard swift settings on valid targets (#60)
Only apply standard swift settings on valid targets. The current check
ignores plugins but that is not comprehensive enough.
2025-03-07 15:05:33 +00:00
Rick Newton-RogersandGeorge Barnett 0e5c5f5be2 Enable MemberImportVisibility check on all targets (#54)
Enable MemberImportVisibility check on all targets. Use a standard
string header and footer to bracket the new block for ease of updating
in the future with scripts.

Co-authored-by: George Barnett <gbarnett@apple.com>
2024-12-16 11:01:04 +00:00
Clinton Nkwocha 0d92bf6b08 Enable strict concurrency (#53)
Motivation:

To catch potential data races at build time.

Modifications:

- Enable strict concurrency in Package.swift.
- Add `Sendable` conformance to `StructuredFieldType`.
- Swap
[concurrency-unsafe](https://github.com/swiftlang/swift/issues/66213)
`CommandLine.arguments` for `ProcessInfo.processInfo.arguments`.

Result:

Strict concurrency adoption.
2024-12-05 12:16:11 +01:00
Rick Newton-Rogers 8b35bf45bf Migrate to GitHub Actions (#42)
Migrate CI to use GitHub Actions.

Motivation:

To migrate to GitHub actions and centralised infrastructure.

Modifications:

Changes of note:
* Adopt swift-format using rules from SwiftNIO
* Remove scripts and docker files which are no longer needed

Result:

Feature parity with old CI.
2024-10-30 13:20:20 +00:00
George Barnett 6409185acd Raise minimum Swift version to 5.8 (#37) 2024-03-11 08:43:03 +00:00
Cory Benfield 76a75874dd Use Docc for documentation (#25)
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 10:43:34 +01:00
Fabian Fett 753a6ef2d4 Fix warnings, that appeared after requiring Swift 5.4 (#21) 2022-04-22 07:54:17 +01:00
Fabian Fett 1494d9edfa Drop support for Swift 5.2 and 5.3 (#19)
As outlined in a [Swift forums post in November ’21](https://forums.swift.org/t/swiftnio-swift-version-support/53232), SwiftNIO will only support the latest non-patch Swift release and the 2 immediately prior non-patch versions.

- drop support for Swift 5.2 and 5.3. 
- update CI for Swift 5.4 to run on bionic instead of focal to ensure that we still test bionic.
2022-04-21 10:22:11 +02:00
Cory Benfield 27e163f96a Rename a number of types and modules. (#13)
Motivation:

In general we should try to be specific about what we're referring to.
"Structured headers" is not really an accurate description of what this
module works with: "Structured Header Field Values", or "Structured
Field Value" is usually better. To that end this change adjusts our
naming to be closer to what we want. It also changes our module names to
prioritise the use of the Codable-based one.

Modifications:

- Renamed CodableStructuredHeaders to StructuredFieldValues.
- Renamed StructuredHeaders to RawStructuredFieldValues.
- Renamed a number of types from Field to FieldValue.
- Renamed a number of types from Header to Field or FieldValue.
- Renamed some functions along the above lines.

Result:

Better and more consistent terminology will be used.
2021-07-02 11:48:41 +01:00
Cory Benfield 3f73125a0d Apply formatting 2020-07-17 10:06:44 +01:00
Cory Benfield e12def54da Add docs and license 2020-07-16 16:34:38 +01:00
Cory Benfield 5aaca631da Split Codable to its own module 2020-07-16 11:22:30 +01:00
Cory Benfield 31a8b1658f Define simple example CLI tool 2020-07-16 10:25:52 +01:00
Cory Benfield 03fa905bed Initial Structured Headers decoder. 2020-07-01 16:41:52 +01:00
Cory Benfield fa8c1e771c Initial commit 2020-06-19 17:17:12 +01:00