Cargo Features

[dependencies]
salvo = { version = "0.67.1", default-features = false, features = ["full", "cookie", "fix-http1-request-uri", "server", "http1", "http2", "quinn", "rustls", "native-tls", "openssl", "unix", "acme", "tower-compat", "anyhow", "eyre", "affix", "basic-auth", "force-https", "jwt-auth", "catch-panic", "compression", "logging", "proxy", "concurrency-limiter", "size-limiter", "sse", "trailing-slash", "timeout", "websocket", "request-id", "caching-headers", "cache", "cors", "csrf", "flash", "rate-limiter", "session", "serve-static", "otel", "oapi", "ring", "test"] }
default = cookie, fix-http1-request-uri, http1, http2, ring, server

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

full = acme, affix, anyhow, basic-auth, cache, caching-headers, catch-panic, compression, concurrency-limiter, cookie, cors, csrf, eyre, fix-http1-request-uri, flash, force-https, http1, http2, jwt-auth, logging, native-tls, oapi, openssl, otel, proxy, quinn, rate-limiter, request-id, ring, rustls, serve-static, server, session, sse, test, timeout, tower-compat, trailing-slash, unix, websocket

Enables cookie of salvo_core

fix-http1-request-uri default full?

Enables fix-http1-request-uri of salvo_core

server default full?

Enables server of salvo_core

http1 default full?

Enables http1 of salvo_core

http2 default full?

Enables http2 of salvo_core

quinn full?

Enables quinn of salvo_core

rustls full?

Enables rustls of salvo_core

native-tls full?

Enables native-tls of salvo_core

openssl full?

Enables openssl of salvo_core

unix full?

Enables unix of salvo_core

acme full?

Enables acme of salvo_core

tower-compat full?

Enables tower-compat of salvo_core

anyhow full?

Enables anyhow of salvo_core

eyre full?

Enables eyre of salvo_core

affix full?

Enables affix of salvo_extra

basic-auth full?

Enables basic-auth of salvo_extra

force-https full?

Enables force-https of salvo_extra

jwt-auth full?

Enables salvo-jwt-auth

catch-panic full?

Enables catch-panic of salvo_extra

compression full?

Enables salvo-compression

logging full?

Enables logging of salvo_extra

proxy full? = salvo-proxy
concurrency-limiter full?

Enables concurrency-limiter of salvo_extra

size-limiter

Enables size-limiter of salvo_extra

sse full?

Enables sse of salvo_extra

trailing-slash full?

Enables trailing-slash of salvo_extra

timeout full?

Enables timeout of salvo_extra

websocket full?

Enables websocket of salvo_extra

request-id full?

Enables request-id of salvo_extra

caching-headers full?

Enables caching-headers of salvo_extra

cache full?

Enables salvo-cache

cors full?

Enables salvo-cors

csrf full?

Enables salvo-csrf

flash full?

Enables salvo-flash

rate-limiter full?

Enables salvo-rate-limiter

session full?

Enables salvo-session

serve-static full?

Enables salvo-serve-static

otel full?

Enables salvo-otel

oapi full?

Enables salvo-oapi

ring default full?

Enables ring of optional salvo-jwt-auth, optional salvo-proxy, and salvo_core

test full?

Enables test of salvo_core

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.

salvo_extra affix? basic-auth? caching-headers? catch-panic? concurrency-limiter? force-https? logging? request-id? size-limiter? sse? timeout? trailing-slash? websocket?
salvo-proxy proxy?