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

Implement non-async version of proptest-stateful #2

Open
nickelization opened this issue Jun 28, 2023 · 0 comments
Open

Implement non-async version of proptest-stateful #2

nickelization opened this issue Jun 28, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@nickelization
Copy link
Contributor

The current version of this library is tied to async Rust (and specifically to tokio). You can write tests that don't use any async code, and they'll work fine, but the interface is more complex than it needs to be for use cases like that. It would be great if there were a simpler non-async version of the trait that the framework uses.

Additionally, if there were a non-async trait, we could add a feature flag and make compilation of the async code conditional on that flag. That way, if users don't want to use the async features, they're not forced to pull in all the related dependencies and whatnot.

@nickelization nickelization added the enhancement New feature or request label Jun 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant