Skip to content

feat: no_std support#5

Open
zeon256 wants to merge 7 commits intoiopsystems:mainfrom
zeon256:main
Open

feat: no_std support#5
zeon256 wants to merge 7 commits intoiopsystems:mainfrom
zeon256:main

Conversation

@zeon256
Copy link
Copy Markdown

@zeon256 zeon256 commented Mar 23, 2026

Hello!

This PR seeks to make the crate #[no_std] first with std as the default feature. This is because most of the crate can use the things in core with the exception of Instant. This PR makes Ratelimiter generic over Clock and provides StdClock for users that want to use std. I have made changes to the test as well to not rely on sleep

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.

1 participant