Expand description

The server that handles the requests.

See also

Modules

  • Functionality for configuring the server
  • Handlers for HTTP requests to /api/v0.
  • Helpful structs and functions that are not related to database tables.
  • Re-exports commonly used types for convenient use across the crate. Intended to be glob-imported like use crate::prelude::*;.
  • Executable programs that can be started. Contains for example the server program, background services, and utility programs.

Macros

  • Includes the type’s JSON example and/or TypeScript definition generated by doc-file-generator as a string. Used with the helper macro from the doc-macro crate: #generated_doc

Functions

  • Setups file store so that it can be passed to actix web as data. Using Arc here so that this can be accessed from all the different worker threads.
  • Sets up tokio tracing. Also makes sure that log statements from libraries respect the log level settings that have been set with RUST_LOG, for example:

Type Aliases