Crate pocket_relay_client_shared

Crate pocket_relay_client_shared 

Source
Expand description

Shared core for Pocket Relay client

This library handles creating and running the local servers required for connecting to Pocket Relay servers.

It provides shared backend for the different variants to make it easier to keep feature parody across versions

Re-exports§

pub use reqwest;

Modules§

api
API logic for HTTP requests that are sent to the Pocket Relay server
ctx
Shared context state that the app should store and pass to the various servers when they are started
fire
Minimal fire packet parsing and creation implementation this supports the very minimal required features
servers
Different servers that the clients can spawn and manage
update
Code for assisting with the updating process

Structs§

Url
A parsed URL record.
Version
SemVer version as defined by https://semver.org.

Constants§

MIN_SERVER_VERSION
The minimum server version supported by this client
SHARED_BACKEND_VERSION
Version constant for the backend