Cargo Features

axum-htmx has no features set by default.

[dependencies]
axum-htmx = { version = "0.6.0", features = ["unstable", "guards", "serde", "auto-vary"] }
unstable
guards = futures-core, pin-project-lite, tower

Affects axum-htmx::guard

serde

Enables serde and serde_json

serde:

Optional dependencies required for the serde feature.

Affects location::HxLocation.options, location::LocationOptions, trigger::HxEvent.data

auto-vary = futures, tokio, tower

Affects axum-htmx::auto_vary

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

tower auto-vary? guards?

Enables tower ^0.4

Optional dependencies required for the guards feature.

futures-core guards?
pin-project-lite guards?
tokio auto-vary?

Enables tokio

Optional dependencies required for the auto-vary feature.

futures auto-vary?