Cargo Features

[dependencies]
audiobookroom = { version = "0.1.1", default-features = false, features = ["hydrate", "ssr"] }
default = ssr

The ssr feature is set by default whenever audiobookroom is added without default-features = false somewhere in the dependency tree.

hydrate

Enables console_error_panic_hook, console_log, and gloo-timers, hydrate of leptos ^0.6, leptos_meta ^0.6, and leptos_router ^0.6

Affects audiobookroom::hydrate

ssr default

Enables leptos_axum ^0.6, async-trait, axum, axum_session ^0.12.4, axum_session_auth ^0.12.0, bcrypt ^0.15, clap, and dotenv, pin-project-lite, rand, sea-orm ^0.12.14, sqlx ^0.7.2, tokio, tower ^0.4, tower-http ^0.5, and tracing-subscriber, ssr of leptos ^0.6, ssr of leptos_meta ^0.6 and leptos_router ^0.6

Affects audiobookroom::entities, audiobookroom::fallback, audiobookroom::middleware, audiobookroom::state, audiobookroom::tools, audiobookroom::ssr, auth::ssr