Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Configuration

Health Tracker is configured via Cargo.toml under [package.metadata.leptos].

Server settings

SettingDefaultDescription
site-addr127.0.0.1:1337Server bind address
reload-port1338Hot-reload WebSocket port

Build settings

SettingDefaultDescription
site-roottarget/siteOutput directory
site-pkg-dirpkgPackage subdirectory
style-filesrc/styles/main.scssSCSS entry point
assets-dirpublicStatic assets

Feature flags

FeatureDescriptionStatus
ssrServer-side rendering (Axum)Complete
hydrateClient-side hydration (WASM)Complete
cliAdmin CLI binaryStub
genCode generator binaryStub

Environment variables

VariableDescription
DATABASE_URLSQLite connection string (default: sqlite:data/health-tracker.db)
LEPTOS_OUTPUT_NAMEOutput binary name
LEPTOS_SITE_ROOTSite root directory
LEPTOS_SITE_PKG_DIRPackage directory
LEPTOS_SITE_ADDRServer address
LEPTOS_RELOAD_PORTReload port

Lint configuration

Workspace-level clippy::pedantic is set to deny in Cargo.toml. All pedantic lints are warnings during iteration but must be resolved before committing.