pocket_relay_client_shared/lib.rs
1#![warn(missing_docs, unused_variables, unused_crate_dependencies)]
2
3//! Shared core for Pocket Relay client
4//!
5//! This library handles creating and running the local servers required
6//! for connecting to Pocket Relay servers.
7//!
8//! It provides shared backend for the different variants to make it easier
9//! to keep feature parody across versions
10//!
11//! [`PocketRelay`]: https://pocket-relay.pages.dev/
12
13// Re-exports for dependencies
14pub use reqwest;
15pub use semver::Version;
16pub use url::Url;
17
18pub mod api;
19pub mod ctx;
20pub mod fire;
21pub mod servers;
22pub mod update;
23
24/// Version constant for the backend
25pub const SHARED_BACKEND_VERSION: &str = env!("CARGO_PKG_VERSION");
26
27/// The minimum server version supported by this client
28pub const MIN_SERVER_VERSION: Version = Version::new(0, 5, 0);