Since we added Swift >= 5.0 support our semantic Span attributes (which are >= 5.2-only) cannot be used in libraries that make use of this backward-compatibility. Therefore, we want to expose string constants for the attribute keys that can be used with any Swift version. We'll then reuse these constants when defining the 5.2-only type-safe attributes.
Since we added Swift >= 5.0 support our semantic
Span
attributes (which are >= 5.2-only) cannot be used in libraries that make use of this backward-compatibility. Therefore, we want to expose string constants for the attribute keys that can be used with any Swift version. We'll then reuse these constants when defining the 5.2-only type-safe attributes.