A framework agnostic pagination crate, that is especially suited for databases, slices and collections. Paginate calculates the range of page indexes, making it ideal for accessing slices, chunking data and querying databases.
Project Status
Installation
Add the following line to your Cargo.toml file:
= "^1"
Examples
To iterate over each page:
use Pages;
To get the pagination of a specific offset:
use Pages;
Getting help
Contribute
- Star this project. It really helps!
- Ask a question
- Report a bug
- Request documentation
- Request a new feature