neptunium_http/lib.rs
1//! Types and builders for interacting with the Fluxer HTTP API.
2
3pub const DEFAULT_API_BASE_URL: &str = "https://api.fluxer.app/v1";
4pub const DEFAULT_USER_AGENT: &str = "Neptunium-HTTP";
5
6const VERSION: &str = unwrap_or(option_env!("CARGO_PKG_VERSION"), "unknown");
7
8const fn unwrap_or(option: Option<&'static str>, default: &'static str) -> &'static str {
9 if let Some(value) = option {
10 value
11 } else {
12 default
13 }
14}
15
16pub mod client;
17pub mod endpoints;
18pub mod error;
19pub mod request;
20// pub mod requests;
21// pub mod responses;