Skip to main content

strava_wrapper/
lib.rs

1pub mod api;
2pub mod auth;
3pub mod endpoints;
4pub mod filters;
5pub mod models;
6pub mod query;
7
8/// Re-exports of the builder traits commonly imported from user code.
9///
10/// `use strava_wrapper::prelude::*;` brings `Sendable` plus the typed
11/// builder traits (`ID`, `Page`, `PerPage`, …) into scope so that
12/// `api.activities().get().id(123).send().await` compiles without a dozen
13/// individual imports.
14pub mod prelude {
15    pub use crate::query::{
16        After, AfterCursor, Before, Endpoint, ErrorWrapper, GearID, IncludeAllEfforts, Page,
17        PageSize, PathQuery, PerPage, Query, RateLimit, Sendable, ID,
18    };
19}