Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make parking_lot optional in tokio #216

Merged
merged 1 commit into from
Feb 21, 2025

Conversation

nerodono
Copy link
Contributor

including parking_lot in the feature set of tokio is quite opinionated, due to cargo features unification, parking_lot may be turned on everywhere where mockito is used. This PR adds way to opt-out parking_lot explicitly.

Why?

One may want to use std mutexes due to, for example, rust-lang/rust#95035 (comment)

@lipanski lipanski merged commit 566364c into lipanski:master Feb 21, 2025
6 checks passed
@lipanski
Copy link
Owner

Fair enough 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants