Skip to main content

Crate folio_vitae

Crate folio_vitae 

Source
Expand description

Core library for folio-vitae.

Beginner-friendly map:

  • src/main.rs parses CLI commands
  • this file wires together the high-level flows
  • app/ contains the website preparation and rendering logic
  • resources.rs contains embedded starter files and runtime assets

If you are new to Rust, start by reading:

  1. main()
  2. run_servers()
  3. run_servers_with_watch()
  4. prepare_application_state()

Re-exports§

pub use error::AppError;
pub use error::AppResult;
pub use error::ResultExt;

Modules§

app
Application internals used by the CLI.
config
error
http
logging
resources

Structs§

PreparedApplication

Enums§

ServerLifecycle

Functions§

initialize_project
load_env_file
prepare_application_state
read_port_from_env
run_servers
run_servers_with_watch