1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
//! Core HTTP server implementation handling SQL file execution and request processing.
//!
//! For more general information about perfomance in sqlite, read our
//! [performance guide](https://sql-page.com/performance.sql).
//!
//! # Overview
//!
//! The webserver module is responsible for:
//! - Processing incoming HTTP requests
//! - Executing SQL files
//! - Streaming query results to clients
//! - Managing database connections
//! - Handling file uploads and static content
//!
//! # Architecture
//!
//! Key components:
//!
//! - [`database`]: SQL execution engine and query processing
//! - [`database::execute_queries`]: Streams query results from database
//! - [`database::migrations`]: Database schema management
//!
//! - [`http`]: HTTP server implementation using actix-web
//! - Request handling
//! - Response streaming
//! - [Content Security Policy](https://sql-page.com/safety.sql) enforcement
//!
//! - [`response_writer`]: Streaming response generation
//! - [`static_content`]: Static asset handling (JS, CSS, icons)
//!
pub use Database;
pub use ErrorWithStatus;
pub use make_placeholder;
pub use apply;