Feature Reference

Every feature in bext maps to a license key name and (for compiled features) a Cargo flag. The license key controls runtime activation; the Cargo flag controls whether the code is compiled in.

Community (Free)

These features are always available, no license key required.

Feature License key Description
Server-side rendering ssr V8 render pool, streaming SSR
ISR caching isr-cache LRU cache with TTL + stale-while-revalidate + tag invalidation
Compression compression Gzip, Brotli, Zstd (sync + streaming)
Auto-TLS auto-tls Let's Encrypt / ZeroSSL via ACME
HTTP/2 http2 ALPN negotiation, multiplexing
Deploys deploys Zero-downtime deploys, rollback
Transforms transforms 14 AST/string source transforms
SEO seo Sitemap, robots.txt, RSS/Atom, JSON-LD, OG images
Image optimization image Resize, format convert, blur placeholders
Flow engine flow-engine Durable execution (SQLite WAL), crash recovery
QuickJS plugins plugins-quickjs Lightweight JS sandbox with memory/time limits
Metrics metrics Prometheus endpoint, structured logs
CLI cli All subcommands (run, dev, build, deploy, etc.)
Framework adapters adapters Next.js, Hono, Express, Laravel, Symfony, PHP

Pro ($29/mo)

Security, performance, and horizontal scaling features.

Feature License key Cargo flag Description
WAF waf --features waf IP filtering, GeoIP, SQLi/XSS/traversal detection, bot detection, DDoS
HTTP/3 h3-quic --features h3-quic QUIC transport, 0-RTT, Alt-Svc
Redis cache redis --features redis L2 cache, distributed rate limiting, Pub/Sub invalidation
OpenTelemetry otel --features otel Distributed tracing, OTLP export, request waterfall
WASM plugins plugins-wasm --features plugins wasmtime sandbox with fuel budgets, KV, queues, HTTP fetch
nsjail plugins plugins-nsjail --features plugins Process-level namespace isolation
nginx compat nginx-compat --features nginx-compat Drop-in nginx.conf parsing + migration
Real-time hub realtime --features realtime SSE + WebSocket pub/sub, topic wildcards, Redis relay
WebSocket proxy websocket-proxy --features websocket-proxy Upstream WebSocket proxying

Enterprise ($199/mo)

Compliance, multi-tenancy, and advanced infrastructure.

Feature License key Cargo flag Description
eBPF acceleration ebpf --features ebpf XDP packet filter, kernel-level tracing, seccomp hardening
Embedded PHP php --features php Custom SAPI, worker mode, OPcache, 16K+ req/s
RBAC rbac -- Multi-tenant role-based access, audit logs
Feature flags feature-flags -- Percentage rollouts, deterministic hashing
Auth proxy auth-proxy -- OIDC providers, mTLS client certificates
Companion premium companion-premium -- Flow debugger, plugin workshop, advanced dashboards

Single Binary, Runtime Gating

You can build one binary with every feature compiled in:

cargo build -p bext-server --release \
  --features tls,waf,realtime,redis,otel,h3-quic,plugins,php,ebpf,nginx-compat

The license key then controls which features activate at runtime. This simplifies deployment — one binary for all tiers, differentiated by configuration alone.