Skip to main content

scribe_client/
lib.rs

1// The README is the crate documentation, so its example is compiled as a
2// doctest and cannot drift from the API.
3#![doc = include_str!("../README.md")]
4
5mod auth;
6mod channel;
7mod client;
8mod error;
9mod model;
10
11// The constructors take a `reqwest::Client` and a `Url`, so these are the
12// versions to build them with; another version of either is another type.
13pub use reqwest;
14pub use url::{self, Url};
15
16pub use auth::{AuthClient, PkceChallenge, TokenSet};
17pub use channel::{ChannelEvent, DocumentChannel};
18pub use client::{DocumentSource, ScribeClient, DELETE_ACCOUNT_PATH};
19pub use error::ScribeError;
20pub use model::{
21    AccountInfo, BrailleTable, CreatedDocument, Dialect, DocumentList, DocumentSummary, Download,
22    Language, NotificationSettings, Output, OutputFormat, OutputList, Settings, SettingsUpdate,
23    Stage, TrashedDocument, Voice,
24};