Reference
Cargo feature graph Every cargo feature on the tako-rs umbrella crate — transports, runtimes, plugins, extractors, observability, and the combos that don't compile.
The umbrella crate tako-rs is the contractual surface. Sub-crate
features are reached through it — for example, tako-rs/multipart
turns on tako-extractors/multipart and tako-core/multipart
together. You should never need to depend on tako-core,
tako-extractors, tako-server, tako-server-pt, tako-streams,
or tako-plugins directly.
To inspect the current shape locally:
cargo metadata --format-version 1 --no-deps \
| jq '.packages[] | select(.name == "tako-rs") | .features'
Feature Description Gates (default) HTTP/1.1, WebSocket, SSE, raw TCP / UDP, Unix sockets, PROXY protocol. always on tlsServer-side HTTPS via rustls. tako-server/tls, tako-core/tlshttp2HTTP/2 cleartext (h2c) and ALPN-negotiated h2 over TLS. tako-server/http2, tako-core/http2http3HTTP/3 over QUIC; also enables the QUIC dependency tree in tako-streams. tako-server/http3, tako-streams/http3, tako-core/http3webtransportWebTransport / raw QUIC sessions on top of http3. tako-streams/webtransport, tako-core/webtransportvsockLinux vsock listener for sidecar workloads. tako-server/vsock
Feature Description Gates compioSwitch the server to the compio runtime (io_uring / IOCP / kqueue). Mutually exclusive with the tokio path at build time. tako-core/compio, tako-server/compio, tako-streams/compio, tako-plugins/compiocompio-tlsTLS on compio. Implies compio. tako-server/compio-tls, tako-core/compio-tlscompio-wsWebSocket on compio. Implies compio. tako-streams/compio-ws, tako-core/compio-wsper-threadThread-per-core deployment on tokio current-thread runtimes. tako-server-ptper-thread-compioThread-per-core on compio. Implies per-thread. tako-server-pt/compio
See Runtime compatibility for the tokio vs compio
trade-offs.
Feature Description Gates pluginsBundled middleware and plugins (CORS, compression, rate limiting, idempotency). tako-core/plugins, tako-plugins/pluginssignalsIn-process pub/sub bus, queue lifecycle signals, transport signals. tako-core/signals, tako-server/signals, tako-plugins/signalsip-filterIpFilter middleware.tako-plugins/ip-filterhmac-signatureHmacSignature middleware.tako-plugins/hmac-signaturejson-schemaJsonSchema request-validation middleware.tako-plugins/json-schemazstdZstandard compression in plugins::compression. Implies plugins. tako-plugins/zstd, tako-core/zstd
Feature Description Gates multipartMultipart / TakoTypedMultipart body extractors.tako-extractors/multipart, tako-core/multipartprotobufProtobuf<T> extractor via prost.tako-extractors/protobuf, tako-core/protobufsimdUmbrella that enables both simd-sonic and simd-json-impl. tako-extractors/simd, tako-core/simdsimd-sonicsonic-rs-backed JSON path.tako-extractors/simd-sonic, tako-core/simd-sonicsimd-json-implsimd-json-backed JSON path.tako-extractors/simd-json-impl, tako-core/simd-json-impltyped-headerTypedHeader<H> extractor (via headers).tako-extractors/typed-headerzero-copy-extractorsBorrowed variants of Json, Form, Query, HeaderMap. tako-extractors/zero-copy-extractors, tako-core/zero-copy-extractorsvalidatorValidated<T> adapter for the validator crate.tako-extractors/validatorgardeValidated<T> adapter for the garde crate.tako-extractors/gardejwt-simpleJWT decode / verify backed by jwt-simple . tako-extractors/jwt-simple, tako-plugins/jwt-simple, tako-core/jwt-simpleahashSwap the default request hasher for ahash across the workspace. tako-core/ahash, tako-extractors/ahash, tako-plugins/ahash
Feature Description Gates clienttako::client outbound HTTP client (hyper-util legacy client). Off by default. Not available with compio.tako-core/clientnative-certsUse the OS trust store via rustls-native-certs instead of the bundled webpki-roots snapshot. Implies client. tako-core/native-certsfile-streamFile streaming, range requests, conditional GET, precompressed sidecars. tako-streams/file-stream, tako-core/file-stream
Feature Description Gates async-graphqlGraphQL HTTP / WebSocket handlers. tako-core/async-graphqlgraphiqlGraphiQL IDE endpoint. tako-core/graphiqlgrpcgRPC unary RPCs via prost. tako-core/grpcutoipaOpenAPI docs via utoipa . tako-core/utoipautoipa-yamlYAML output for the utoipa integration. Implies utoipa. tako-core/utoipa-yamlvesperaOpenAPI docs via vespera . tako-core/vespera
Feature Description Gates tako-tracingtracing-subscriber integration helpers.tako-core/tako-tracing, tako-server/tako-tracingmetrics-prometheusPrometheus scrape endpoint + histogram. Implies plugins and signals. tako-plugins/metrics-prometheus, tako-core/metrics-prometheusmetrics-opentelemetryOpenTelemetry OTLP metrics export. Implies plugins and signals. tako-plugins/metrics-opentelemetry, tako-core/metrics-opentelemetry
Feature Description Gates jemallocSet tikv-jemallocator as the global allocator. tako-core/jemalloc, dep:tikv-jemallocator
Enabling both the tokio and compio runtime sides at once is
not supported. cargo build --all-features therefore does not
build a runnable binary — see
Runtime compatibility .
client requires tokio. With compio on, the tako::client
re-export is intentionally absent.
New cargo features may appear in minor releases. Removing or
renaming an existing feature is a major-version event — see
API stability for the full policy.