Cargo Features
Terracotta has no features set by default.
[dependencies]
terracotta = { version = "0.4.0", features = ["full", "assets", "auth", "errors", "health", "stats", "tera", "utoipa"] }
================================[ FEATURES ]=================================
- full = assets, auth, errors, health, stats, tera, utoipa
- assets full?
-
Feature modules
Enables include_dir, mime_guess, rubedo, smart-default, and tokio-util
Affects
terracotta::assets
,config::LoadingBehavior
… - auth full? = errors, tera
-
Enables tower-sessions and url
Affects
terracotta::auth
,create::app_full
… - errors auth? full?
-
Enables rubedo
Affects
create::app_minimal
,terracotta::errors
… - health full?
-
Affects
terracotta::health
… - stats full?
-
Enables chrono, flume, indexmap, itertools, parking_lot, rubedo, serde_json, smart-default, tikv-jemalloc-ctl, and velcro
Affects
terracotta::stats
,create::app_full
… - tera auth? full?
-
Feature abilities
Enables include_dir, smart-default, and tera
Affects
config::HtmlTemplates
,init::setup_tera
,state::StateProvider.html_templates_config
,state::StateProvider.render
,state::StateProvider.tera
,utility::render
,middleware::graceful_error_layer
,routing::RouterExt.add_error_template
,config::LoadingBehavior
… - utoipa full?
-
Enables utoipa ^4.2.3, utoipa-rapidoc ^4.0.0, utoipa-redoc ^4.0.0, and utoipa-swagger-ui ^7.1.0
Affects
routing::RouterExt.add_openapi
…
Features from optional dependencies
==============================[ DEPENDENCIES ]===============================