Skip to main content

datapress_core/
lib.rs

1//! `datapress-core` — shared types used by every backend.
2//!
3//! Backend-agnostic pieces: configuration parsing, error types, request /
4//! response models, schema description, and admin-token auth.
5
6pub mod admin;
7#[cfg(feature = "auth")]
8pub mod auth;
9pub mod backend;
10pub mod banner;
11pub mod config;
12#[cfg(feature = "docs")]
13pub mod docs;
14// Shared gzip-compressed DuckDB-WASM vendor store, embedded once and reused by
15// the explorer and the self-hosted docs site (avoids duplicating ~77 MB of
16// wasm in the binary / PyPI wheel).
17#[cfg(any(feature = "docs", feature = "explorer"))]
18pub(crate) mod duckdb_vendor;
19pub mod errors;
20#[cfg(feature = "explorer")]
21pub mod explorer;
22pub mod handlers;
23pub mod models;
24pub mod schema;
25pub mod server;
26pub mod sql;
27#[cfg(feature = "swagger")]
28pub mod swagger;
29pub mod timeout;