scribe-client
A Rust client for the Scribe for Documents API by Pneuma Solutions, which converts documents into accessible formats: HTML, DAISY, EPUB, MP3 audio, and Braille.
It covers signing in (OAuth 2.0 with PKCE), uploading documents, converting them, following a conversion live over a WebSocket channel, downloading the results, and the account and settings around them. The scribe-client Python package is built on it.
Example
use ;
async
ScribeClient and AuthClient take a reqwest::Client and a Url; use the scribe_client::reqwest and scribe_client::Url re-exports so the versions match.
TLS
By default TLS is done by rustls, with no system library to link against. To use the platform's own TLS library instead (Security.framework on Apple platforms, SChannel on Windows, OpenSSL elsewhere), turn off the default features and turn on native-tls:
= { = "0.3", = false, = ["native-tls"] }
License
Licensed under either of the Apache License, Version 2.0 or the MIT license, at your option.