Cargo Features
[dependencies]
salvo = { version = "0.74.2", default-features = false, features = ["full", "cookie", "fix-http1-request-uri", "server", "server-handle", "http1", "http2", "http2-cleartext", "quinn", "rustls", "native-tls", "openssl", "unix", "acme", "socket2", "anyhow", "eyre", "affix-state", "basic-auth", "craft", "force-https", "jwt-auth", "catch-panic", "compression", "logging", "proxy", "concurrency-limiter", "size-limiter", "sse", "trailing-slash", "timeout", "websocket", "request-id", "caching-headers", "tower-compat", "cache", "cors", "csrf", "flash", "rate-limiter", "session", "serve-static", "otel", "oapi", "ring", "test"] }
- default = cookie, fix-http1-request-uri, http1, http2, ring, server, server-handle
-
These default features are set whenever
salvo
is added without
somewhere in the dependency tree.default-features = false - full = acme, affix-state, anyhow, basic-auth, cache, caching-headers, catch-panic, compression, concurrency-limiter, cookie, cors, craft, csrf, eyre, fix-http1-request-uri, flash, force-https, http1, http2, http2-cleartext, jwt-auth, logging, native-tls, oapi, openssl, otel, proxy, quinn, rate-limiter, request-id, ring, rustls, serve-static, server, server-handle, session, socket2, 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
- server-handle default full?
-
Enables server-handle of salvo_core
- http1 default full?
-
Enables http1 of salvo_core
- http2 default full?
-
Enables http2 of salvo_core
- http2-cleartext full?
-
Enables http2-cleartext 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
- socket2 full?
-
Enables socket2 of salvo_core
- anyhow full?
-
Enables anyhow of salvo_core
- eyre full?
-
Enables eyre of salvo_core
- affix-state full?
-
Enables affix-state of salvo_extra
- basic-auth full?
-
Enables basic-auth of salvo_extra
- craft full?
-
Enables salvo-craft
- 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
- tower-compat full?
-
Enables tower-compat 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.