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, leptos_meta, and leptos_router

Affects audiobookroom::hydrate

ssr default

Enables leptos_axum, async-trait, axum, axum_session ^0.12.4, axum_session_auth ^0.12.0, bcrypt, 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, ssr of leptos_meta and leptos_router

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