Cargo Features
WTX has no features set by default.
[dependencies]
wtx = { version = "0.26.0", features = ["aws-lc-rs", "borsh", "client-api-framework", "data-transformation", "database", "embedded-tls", "executor", "foldhash", "grpc", "grpc-client", "grpc-server", "http", "http-client-framework", "http-cookie", "http-cookie-secure", "http-server-framework", "http-session", "http2", "arbitrary", "nightly", "std", "optimization", "pool", "portable-atomic-util", "postgres", "quick-protobuf", "rand_chacha", "rustls", "schema-manager", "schema-manager-dev", "serde", "serde_json", "tokio", "tokio-rustls", "web-socket", "web-socket-handshake", "argon2", "cl-aux", "embassy-net", "embassy-time", "fastrand", "flate2", "matchit", "rust_decimal", "uuid", "webpki-roots", "x509-certificate"] }
- aws-lc-rs
-
Enables aws-lc-rs and aws-lc-rs of optional rustls
rustls:
Alias because Cargo features commonly use
-
- 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 postgres? schema-manager?
-
Affects
wtx::database
… - embedded-tls = embedded-io-async
-
Enables embedded-tls
- executor
- foldhash http2? 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-framework
- grpc-server = grpc, http-server-framework
- http http-cookie? http2? web-socket?
-
Affects
wtx::http
… - http-client-framework grpc-client? = http2, pool, std
-
Affects
http::client_framework
… - http-server-framework grpc-server? = http2
-
Affects
http::server_framework
… - http-session = http-cookie-secure, serde_json
- http2 http-client-framework? http-server-framework? = foldhash, hashbrown, http
-
Affects
wtx::http2
,pool::Http2BufferRM
,pool::StreamBufferRM
,operation_mode::ManualServerStreamTokio
… - arbitrary = std
-
Enables arbitrary
- nightly
-
FIXME(STABLE): "hashbrown?/nightly"
- std arbitrary? borsh? http-client-framework? quick-protobuf? serde_json? 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, optional embedded-io-async, optional embedded-tls, optional fastrand, optional foldhash, optional hmac, optional httparse, optional memchr, optional portable-atomic, optional portable-atomic-util, optional quick-protobuf, optional rand_chacha, optional rand_core, 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
memchr:
The 'std' feature permits the memchr crate to use the standard library. This permits this crate to use runtime CPU feature detection to automatically accelerate searching via vector instructions. Without the standard library,
this automatic detection is not possible.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-framework?
-
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_chacha
-
Enables rand_chacha and rand_core
- rustls tokio-rustls? = rustls-pki-types
-
Enables rustls
- schema-manager schema-manager-dev? = chrono, database
-
Affects
database::schema_manager
… - schema-manager-dev = schema-manager
- serde serde_json?
-
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
… - 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? postgres?
- embassy-net implicit feature
-
Enables embassy-net
embassy-net:
Async TCP/IP network stack for embedded systems
- embassy-time implicit feature
-
Enables embassy-time
embassy-time:
Instant and Duration for embedded no-std systems, with async timer support
- embedded-io-async embedded-tls?
- fastrand implicit feature
-
Enables fastrand
fastrand:
A simple and fast random number generator
- flate2 implicit feature
- hashbrown http2? 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?
- ring tokio-rustls?
- rust_decimal implicit feature
- rustls-pki-types rustls? tokio-rustls?
- sha1 web-socket-handshake?
- sha2 postgres?
- simdutf8 optimization?
- 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