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

fix: compile to fail when using DefaultSleeper with no features enabled #136

Merged
merged 2 commits into from
Aug 30, 2024

Conversation

bdbai
Copy link
Contributor

@bdbai bdbai commented Aug 30, 2024

  • Makes compilation to fail when using DefaultSleeper with no features enabled.
    • Should not panic as it is a valid Sleeper is guaranteed at compile time.
  • docs to instruct users to enable a feature or provide custom Sleeper.

Close #128

Copy link
Owner

@Xuanwo Xuanwo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot, I love this idea!

@Xuanwo Xuanwo merged commit 7237d04 into Xuanwo:main Aug 30, 2024
7 checks passed
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.

Panicking after upgrade
2 participants