Skip to content

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

Merged
Xuanwo merged 2 commits intoXuanwo:mainfrom
bdbai:must-sleeper
Aug 30, 2024
Merged

fix: compile to fail when using DefaultSleeper with no features enabled#136
Xuanwo merged 2 commits intoXuanwo:mainfrom
bdbai:must-sleeper

Conversation

@bdbai
Copy link
Copy Markdown
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
Copy Markdown
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
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