Cargo Features

[dependencies]
actix-web-query-method-middleware = { version = "1.0.1", default-features = false, features = ["logging_tracing", "logging_log"] }
default = logging_tracing

The logging_tracing feature is set by default whenever actix-web-query-method-middleware is added without default-features = false somewhere in the dependency tree.

logging_tracing default = tracing

The middleware will use the tracing library to log messages.

logging_log = log

The middleware will use the log library to log messages.

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.

tracing logging_tracing

Enables tracing

Logging. Both are optional, and activated via their respective features.

log logging_log?