temporalio / sdk-core

Core Temporal SDK that can be used as a base for language specific Temporal SDKs
MIT License
278 stars 77 forks source link

Add missing cfg feature tag #596

Closed lee-aaron closed 1 year ago

lee-aaron commented 1 year ago

What was changed

Adds a cfg feature tag in the match statement

Why?

If you don't have the otel_impls feature and you're using the Rust SDK client, it will fail to compile.

Checklist

  1. Closes https://github.com/temporalio/sdk-core/issues/595
  2. How was this tested:

    cargo check

  3. Any docs updates needed?

    None

CLAassistant commented 1 year ago

CLA assistant check
All committers have signed the CLA.