apple / swift-distributed-tracing

Instrumentation library for Swift server applications
https://swiftpackageindex.com/apple/swift-distributed-tracing/main/documentation/tracing
Apache License 2.0
222 stars 30 forks source link

Remove platform requirement from Package.swift #130

Closed adam-fowler closed 1 year ago

adam-fowler commented 1 year ago

This PR removes the platform requirement from the Package.swift and replaces it with @available checks throughout the library where they weren't already placed. I placed everything in the Benchmarks package inside a DSLBenchmarks enum so I only needed to add one @available.

These changes are required if Hummingbird is going to merge in its tracing middleware PR without making it a breaking change

ktoso commented 1 year ago

@swift-server-bot add to allowlist