Cargo Features
WTX has no features set by default.
[dependencies]
wtx = { version = "0.24.0", features = ["std", "base64", "borsh", "chrono", "cl-aux", "client-api-framework", "crypto-common", "data-transformation", "database", "digest", "embedded-tls", "executor", "fastrand", "flate2", "foldhash", "grpc", "hashbrown", "hmac", "http", "http-client-framework", "http-cookie", "http-cookie-secure", "http-server-framework", "http-session", "http2", "httparse", "memchr", "nightly", "optimization", "pool", "portable-atomic-util", "postgres", "quick-protobuf", "rand_chacha", "ring", "rust_decimal", "schema-manager", "schema-manager-dev", "serde", "serde_json", "sha1", "sha2", "simdutf8", "tokio", "tokio-rustls", "tracing", "tracing-subscriber", "web-socket", "web-socket-handshake", "webpki-roots", "x509-certificate", "arbitrary", "argon2", "matchit"] }
- 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 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
… - base64 http-cookie-secure? postgres? web-socket-handshake?
-
Enables base64
- borsh = std
-
Enables borsh
- chrono http-cookie? http-session? schema-manager?
-
Enables chrono
- cl-aux
-
Enables cl-aux
- client-api-framework = data-transformation
-
Affects
wtx::client_api_framework
… - crypto-common postgres?
-
Enables crypto-common
- data-transformation client-api-framework? grpc?
-
Affects
wtx::data_transformation
… - database postgres? schema-manager?
-
Affects
wtx::database
… - digest http-cookie-secure? postgres?
-
Enables digest
- embedded-tls = embedded-io-async
-
Enables embedded-tls
- executor
- fastrand
-
Enables fastrand
- flate2
-
Enables flate2
- 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 = data-transformation, http-client-framework, http-server-framework
-
Affects
wtx::grpc
… - hashbrown http2? postgres?
-
Enables hashbrown
- hmac postgres?
-
Enables hmac
- http http-cookie? http2? web-socket?
-
Affects
wtx::http
… - http-client-framework grpc? = http2, pool, std
-
Affects
http::client_framework
… - http-server-framework grpc? = http2, tokio
-
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
… - httparse web-socket-handshake?
-
Enables httparse
- memchr optimization?
-
Enables memchr
- nightly
-
Enables nightly of optional hashbrown
hashbrown:
Enables use of nightly features. This is only guaranteed to work on the latest version of nightly Rust.
- 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
- ring tokio-rustls?
-
Enables ring
- rust_decimal
-
Enables rust_decimal
- 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
… - sha1 web-socket-handshake?
-
Enables sha1
- sha2 postgres?
-
Enables sha2
- simdutf8 optimization?
-
Enables simdutf8
- tokio http-server-framework? tokio-rustls? = std
-
Enables tokio
Affects
session::SessionTokio
,http2::Http2Tokio
,http2::Http2DataTokio
,simple_pool::SimplePoolTokio
,operation_mode::ManualServerStreamTokio
… - tokio-rustls = ring, tokio
-
Enables rustls-pemfile, rustls-pki-types, and tokio-rustls
- tracing _tracing-tree?
-
Enables tracing
- tracing-subscriber _tracing-tree?
-
Enables tracing-subscriber
- web-socket web-socket-handshake? = http
-
Affects
wtx::web_socket
,pool::WebSocketRM
… - web-socket-handshake = base64, httparse, sha1, web-socket
- webpki-roots
-
Enables webpki-roots
- x509-certificate
-
Enables x509-certificate
- _tracing-tree = tracing, tracing-subscriber
-
Enables tracing-tree
Affects
misc::tracing_tree_init
… - arbitrary = std
-
Enables arbitrary
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
… - embedded-io-async embedded-tls?
- matchit implicit feature
-
Enables matchit
matchit:
A high performance, zero-copy URL router
- portable-atomic portable-atomic-util?