Cargo Features
[dependencies]
viz-smol = { version = "0.3.0", 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
somewhere in the dependency tree.default-features = false - state default
- limits default
- query default
- form default
- json default
- multipart default
- params default
-
Enables cookie-signed of viz-core
- session default = cookie, cookie-private
- csrf = cookie, cookie-private
- cors
- 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
- otel otel-metrics? otel-tracing?
- otel-tracing = otel
-
Enables otel-tracing of viz-core
- otel-metrics = otel
-
Enables otel-metrics of viz-core
- otel-prometheus = handlers
-
Enables prometheus of optional viz-handlers
-
Enables cookie-private of viz-core
viz-smol has 23 features without comments.