Cargo Features

spacegate-plugin has no features set by default.

[dependencies]
spacegate-plugin = { version = "0.2.0-alpha.2", features = ["full", "cache", "redis", "axum", "dylib", "limit", "header-modifier", "inject", "redirect", "retry", "rewrite", "set-version", "set-scheme", "maintenance", "status", "east-west-traffic-white-list", "schema"] }
full = cache, east-west-traffic-white-list, header-modifier, inject, limit, maintenance, redirect, retry, rewrite, set-scheme, set-version, status
cache full? limit? = redis

Affects status::CachePolicy, status_prev::SgFilterStatus.status_cache_key, status_prev::SgFilterStatus.window_cache_key

redis cache? = spacegate-ext-redis

Enables ext-redis of spacegate-kernel and spacegate-model

Affects ext::redis

axum = spacegate-ext-axum

Enables ext-axum of spacegate-model

Affects redis_limit::axum_ext, plugins::MatchSpecifier, ext::axum

dylib = libloading

Affects spacegate-plugin::dynamic

limit full? = cache

Affects plugins::limit

header-modifier full?

Affects plugins::header_modifier

inject full?

Affects plugins::inject

redirect full? = url

Affects plugins::redirect

retry full?
rewrite full?

Affects plugins::rewrite

set-version full?

Affects plugins::set_version

set-scheme full?

Affects plugins::set_scheme

maintenance full? = ipnet

Enables serde of chrono

time

Affects plugins::maintenance

status full? = hyper-util
east-west-traffic-white-list full? = ipnet

Affects plugins::east_west_traffic_white_list

schema = schemars

Enables chrono of schemars

Affects axum::PluginCode, axum::plugin_schema, spacegate-plugin::Plugin.schema_opt, spacegate-plugin::PluginDefinitionObject.schema, spacegate-plugin::PluginSchemaExt

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.

libloading dylib?
hyper-util status?
schemars schema?
ipnet east-west-traffic-white-list? maintenance?

Enables ipnet

plugin-maintenance

url redirect?
spacegate-ext-redis redis?

Enables spacegate-ext-redis

cache

spacegate-ext-axum axum?