Cargo Features

[dependencies]
viz-smol = { version = "0.1.9", default-features = false, features = ["state", "limits", "query", "form", "json", "multipart", "params", "cookie", "cookie-signed", "session", "csrf", "cors", "http1", "http2", "unix-socket", "macros", "handlers", "otel", "otel-tracing", "otel-metrics", "otel-prometheus", "cookie-private"] }
default = cookie, form, http1, json, limits, multipart, params, query, session, state

These default features are set whenever viz-smol is added without default-features = false somewhere in the dependency tree.

state default

Enables state of viz-core ^0.8.8

limits default

Enables limits of viz-core ^0.8.8

query default

Enables query of viz-core ^0.8.8

form default

Enables form of viz-core ^0.8.8

json default

Enables json of viz-core ^0.8.8

multipart default

Enables multipart of viz-core ^0.8.8

params default

Enables params of viz-core ^0.8.8

Enables cookie of viz-core ^0.8.8

Enables cookie-signed of viz-core ^0.8.8

session default = cookie, cookie-private

Enables session of viz-core ^0.8.8

csrf = cookie, cookie-private

Enables csrf of viz-core ^0.8.8

cors

Enables cors of viz-core ^0.8.8

http1 default

Enables http1 of hyper and hyper-util

hyper:

HTTP versions

http2

Enables http2 of hyper and hyper-util

unix-socket
macros

Enables viz-macros

handlers otel-prometheus?

Enables viz-handlers ^0.8.8

otel otel-metrics? otel-tracing?

Enables otel of viz-core ^0.8.8

otel-tracing = otel

Enables otel-tracing of viz-core ^0.8.8

otel-metrics = otel

Enables otel-metrics of viz-core ^0.8.8

otel-prometheus = handlers

Enables prometheus of optional viz-handlers ^0.8.8

Enables cookie-private of viz-core ^0.8.8

viz-smol has 23 features without comments.