LukeMathWalker / wiremock-rs

HTTP mocking to test Rust applications.
Apache License 2.0
620 stars 70 forks source link

Add missing tokio feature for task::LocalSet #38

Closed NeoLegends closed 3 years ago

NeoLegends commented 3 years ago

Seems like wiremock v0.4 forgot to enabled this feature, which is required for using tokio::task::LocalSet. This causes breakage in every downstream create that doesn't have this feature enabled (we don't, it seems). Enabling this feature downstream makes this crate compile, but if needed, wiremock should enable this feature itself.

Not sure how this went undetected here, since I don't see it anywhere in the dependencies.

LukeMathWalker commented 3 years ago

Quite weird that we haven't caught this in our tests - it might be the case that another dev dependency enables the feature? Anyway, thanks for reporting the issue and opening a PR!