Cargo Features
actix-toolbox has no features set by default.
[dependencies]
actix-toolbox = { version = "0.13.1", features = ["ws", "logging", "session-all-drivers", "session-postgres-only", "oidc"] }
- ws = actix, actix-web, actix-web-actors, futures, pin-project, tokio
-
Affects
actix-toolbox::ws
… - logging = actix-web, byte-unit, chrono, log4rs, serde, serde_json, uuid
-
Affects
actix-toolbox::logging
… - session-all-drivers = actix-session, actix-web, anyhow, async-trait, chrono, rand, rorm, serde, serde_json
-
Enables all-drivers and chrono of rorm
orm
- session-postgres-only = actix-session, actix-web, anyhow, async-trait, chrono, rand, rorm, serde, serde_json
-
Enables chrono and postgres-only of rorm
- oidc = actix-session, actix-web, openidconnect, serde
-
Affects
actix-toolbox::oidc
…
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.
- actix ws?
-
Enables actix
webframework
- actix-web logging? oidc? session-all-drivers? session-postgres-only? ws?
- actix-session oidc? session-all-drivers? session-postgres-only?
-
Enables actix-session ~0.7
- actix-web-actors ws?
- openidconnect oidc?
-
Enables openidconnect
Open ID Connect
- chrono logging? session-all-drivers? session-postgres-only?
-
Enables chrono
time library
- serde logging? oidc? session-all-drivers? session-postgres-only?
-
Enables serde
serialization
- serde_json logging? session-all-drivers? session-postgres-only?
- byte-unit logging?
-
Enables byte-unit ~4
- log4rs logging?
- anyhow session-all-drivers? session-postgres-only?
-
Enables anyhow
error handling. Required by actix-session
- async-trait session-all-drivers? session-postgres-only?
-
Enables async-trait
async traits. Required by actix-session
- rand session-all-drivers? session-postgres-only?
-
Enables rand
rng
- rorm session-all-drivers? session-postgres-only?
- uuid logging?
- tokio ws?
-
Enables tokio
channels
- futures ws?
-
Enables futures
async util
- pin-project ws?
-
Enables pin-project
wrap futures without boxing them