omry-integration 0.17.1

Helpers for Omry client applications that run integration tests against the Omry backend.
Documentation
//! Environment variable keys used by Omry.

/// Key for SQLite DB URL.
pub const DATABASE_URL: &str = "OMRY_DATABASE_URL";

/// Key for maximum channels per client IP.
pub const MAX_CHANNELS_PER_IP: &str = "OMRY_MAX_CHANNELS_PER_IP";

/// Key corresponding to [`tracing::Level`].
pub const TRACING_LEVEL: &str = "OMRY_TRACING_LEVEL";

/// TCP port for the Omry server to listen on, for tarpc.
pub const SERVER_PORT_RPC: &str = "OMRY_RPC_PORT";

/// TCP port for the Omry listen to for requests over web.
pub const SERVER_PORT_WEB: &str = "OMRY_WEB_PORT";

/// UDS path, if tarpc is listening over UDS instead of TCP.
pub const UDS_PATH: &str = "OMRY_UDS_PATH";

/// Typesense server URL.
pub const TYPESENSE_URL: &str = "OMRY_TYPESENSE_URL";

/// Typesense API key.
pub const TYPESENSE_API_KEY: &str = "OMRY_TYPESENSE_API_KEY";

/// The environment variable name for
/// the message the Omry server should print to stdout
/// when it's ready to receive requests.
pub const READY_MESSAGE_KEY: &str = "OMRY_READY_MESSAGE";