Cargo Features

WTX has no features set by default.

[dependencies]
wtx = { version = "0.29.0", features = ["32-tuple-impls", "borsh", "client-api-framework", "data-transformation", "database", "executor", "foldhash", "grpc", "grpc-client", "grpc-server", "http", "http-client-pool", "http-cookie", "http-cookie-secure", "http-server-framework", "http-session", "http2", "mysql", "arbitrary", "nightly", "std", "optimization", "pool", "portable-atomic-util", "postgres", "quick-protobuf", "rand-compat", "rustls", "schema-manager", "schema-manager-dev", "serde", "serde_json", "serde_urlencoded", "tokio", "tokio-rustls", "web-socket", "web-socket-handshake", "argon2", "cl-aux", "embassy-net", "embassy-time", "fastrand", "flate2", "getrandom", "matchit", "rand_chacha", "rust_decimal", "uuid", "webpki-roots", "x509-certificate"] }
32-tuple-impls
borsh = std

Enables borsh

client-api-framework = data-transformation

Affects wtx::client_api_framework

data-transformation client-api-framework? grpc?

Affects wtx::data_transformation

database mysql? postgres? schema-manager?

Affects wtx::database

executor
foldhash http2? mysql? postgres?

Enables foldhash and default-hasher of optional hashbrown

hashbrown:

Provides a default hasher. Currently this is foldhash but this is subject to change in the future. Note that the default hasher does *not* provide HashDoS resistance, unlike the one in the standard library.

grpc grpc-client? grpc-server? = data-transformation

Affects wtx::grpc

grpc-client = grpc, http-client-pool
grpc-server = grpc, http-server-framework
http http-cookie? http2? web-socket?

Affects wtx::http

http-client-pool grpc-client? = http2, pool, std

Affects http::client_pool

Enables alloc of chrono

Enables aes and alloc of aes-gcm

http-server-framework grpc-server? = http2

Affects http::server_framework

http-session = http-cookie-secure, serde_json

Enables now and serde of chrono

http2 http-client-pool? http-server-framework? = foldhash, hashbrown, http

Affects wtx::http2, pool::Http2BufferRM, pool::StreamBufferRM, operation_mode::ManualServerStreamTokio

mysql = database, digest, foldhash, hashbrown, rand-compat, rand_0_8, sha1, sha2, spki

Enables pem of rsa

Affects client::mysql

arbitrary = std

Enables arbitrary

nightly

FIXME(stable): "hashbrown?/nightly"

std arbitrary? borsh? http-client-pool? quick-protobuf? serde_json? serde_urlencoded? tokio?

Enables std of optional aes-gcm, optional argon2, optional base64, optional borsh, optional chrono, optional cl-aux, optional crypto-common, optional digest, optional embassy-time ^0.3, optional fastrand, optional foldhash, optional getrandom, optional hmac, optional httparse, optional memchr, optional portable-atomic, optional portable-atomic-util, optional quick-protobuf, optional rand_chacha, optional ring, optional rust_decimal, optional rustls-pemfile, optional rustls-pki-types, optional serde, optional serde_json, optional sha1, optional sha2, optional simdutf8, optional tracing, and optional tracing-subscriber

getrandom:

Implement std::error::Error for getrandom::Error and use std to retrieve OS error descriptions

Affects misc::files, misc::group_and_migrations_from_path, misc::parse_root_toml, misc::parse_root_toml_raw, schema_manager::migration_parser, schema_manager::toml_parser, error::VarError, seed::std_seed

optimization = memchr, simdutf8
pool http-client-pool?

Affects wtx::pool

portable-atomic-util = portable-atomic

Enables portable-atomic-util

postgres = base64, crypto-common, database, digest, foldhash, hashbrown, hmac, sha2

Affects client::postgres

quick-protobuf = std

Enables quick-protobuf

rand-compat mysql? = rand_core

Affects crypto_rng::CryptoRng

rustls tokio-rustls? = rustls-pki-types

Enables rustls

schema-manager schema-manager-dev? = database

Enables now of chrono

Affects database::schema_manager

schema-manager-dev = schema-manager
serde serde_json? serde_urlencoded?

Enables serde, serde of optional cl-aux

Affects misc::serde_collect_seq_rslt

serde_json http-session? = serde, std

Enables serde_json

Affects json_rpc_response_error::JsonRpcResponseError.data

serde_urlencoded = serde, std

Enables serde_urlencoded

tokio tokio-rustls? = std

Enables tokio

Affects session_manager::SessionManagerTokio, http2::Http2Tokio, http2::Http2DataTokio, simple_pool::SimplePoolTokio, operation_mode::ManualServerStreamTokio

tokio-rustls = ring, rustls, rustls-pki-types, tokio

Enables rustls-pemfile and tokio-rustls

web-socket web-socket-handshake? = http

Affects wtx::web_socket, pool::WebSocketRM

web-socket-handshake = base64, httparse, sha1, web-socket
_tracing-tree = tracing, tracing-subscriber

Enables tracing-tree

Affects misc::tracing_tree_init

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.

aes-gcm http-cookie-secure?
argon2 implicit feature

Affects misc::argon2_pwd

base64 http-cookie-secure? postgres? web-socket-handshake?
chrono http-cookie? http-session? schema-manager?
cl-aux implicit feature

Enables cl-aux

cl-aux:

Provides elements that describe collections

crypto-common postgres?
digest http-cookie-secure? mysql? postgres?
embassy-net implicit feature

Enables embassy-net ^0.5

embassy-net:

Async TCP/IP network stack for embedded systems

embassy-time implicit feature

Enables embassy-time ^0.3

embassy-time:

Instant and Duration for embedded no-std systems, with async timer support

fastrand implicit feature

Enables fastrand

fastrand:

A simple and fast random number generator

flate2 implicit feature
getrandom implicit feature

Enables getrandom

getrandom:

A small cross-platform library for retrieving random data from system source

hashbrown http2? mysql? postgres?
hmac postgres?
httparse web-socket-handshake?
matchit implicit feature

Enables matchit

matchit:

A high performance, zero-copy URL router

memchr optimization?
portable-atomic portable-atomic-util?
rand_0_8 mysql?

Enables rand ^0.8

rand_chacha implicit feature

Enables rand_chacha

rand_chacha:

ChaCha random number generator

rand_core rand-compat?
ring tokio-rustls?
rsa mysql?
rust_decimal implicit feature
rustls-pki-types rustls? tokio-rustls?
sha1 mysql? web-socket-handshake?
sha2 mysql? postgres?
simdutf8 optimization?
spki mysql?
tracing _tracing-tree?
tracing-subscriber _tracing-tree?
uuid implicit feature

Enables uuid

uuid:

A library to generate and parse UUIDs

webpki-roots implicit feature

Enables webpki-roots

webpki-roots:

Mozilla's CA root certificates for use with webpki

x509-certificate implicit feature

Enables x509-certificate

x509-certificate:

X.509 certificate parser and utility functionality