Skip to main content

reifydb_sub_server_http/
lib.rs

1// SPDX-License-Identifier: Apache-2.0
2// Copyright (c) 2026 ReifyDB
3
4//! HTTP/JSON server on Axum: request/response and subscribe-via-streaming for clients that do not want a protobuf
5//! dependency, on top of `sub-server`'s shared dispatch. This is the canonical place RBCF gets rendered into JSON;
6//! anything needing raw RBCF should use the gRPC or WebSocket transports.
7
8#![cfg_attr(not(debug_assertions), deny(clippy::disallowed_methods))]
9#![cfg_attr(debug_assertions, warn(clippy::disallowed_methods))]
10#![cfg_attr(not(debug_assertions), deny(warnings))]
11#![allow(clippy::tabs_in_doc_comments)]
12
13#[cfg(not(reifydb_single_threaded))]
14pub mod error;
15#[cfg(not(reifydb_single_threaded))]
16pub mod factory;
17#[cfg(not(reifydb_single_threaded))]
18pub mod handlers;
19#[cfg(not(reifydb_single_threaded))]
20pub mod routes;
21#[cfg(not(reifydb_single_threaded))]
22pub mod state;
23#[cfg(not(reifydb_single_threaded))]
24pub mod subsystem;