Cargo Features
[dependencies]
gnostr-cat = { version = "0.0.40", default-features = false, features = ["unix_stdio", "ssl", "signal_handler", "workaround1", "seqpacket", "windows_named_pipes", "vendored_openssl", "crypto_peer", "prometheus_peer", "compression", "native_plugins", "wasm_plugins", "wasm_compiler", "tokio-process", "openssl-probe"] }
- default = compression, signal_handler, ssl, tokio-process, unix_stdio, windows_named_pipes
-
These default features are set whenever
gnostr-cat
is added without
somewhere in the dependency tree.default-features = false - unix_stdio default
-
Affects
gnostr-cat::stdio_peer
… - ssl default = native-tls, openssl-sys, readwrite, tokio-tls
-
Enables async-ssl of websocket
Affects
gnostr-cat::ssl_peer
,ws_client_peer::WsClientSecure
… - signal_handler default = tokio-signal
- workaround1
-
Affects
unix_peer::dgram_peer_workaround
… - seqpacket
-
Affects
unix_peer::unix_seqpacket_peer
… - windows_named_pipes default = tokio-named-pipes
-
Affects
gnostr-cat::windows_np_peer
… - vendored_openssl
-
Enables vendored of openssl-sys
- crypto_peer = argon2, chacha20poly1305
-
Affects
gnostr-cat::crypto_peer
,options::Options.crypto_key
,options::Options.crypto_reverse
… - prometheus_peer = prometheus, prometheus-metric-storage
-
Affects
gnostr-cat::prometheus_peer
,options::Options.prometheus
… - compression default = flate2
- native_plugins = libloading
-
Affects
gnostr-cat::transform_peer
,options::Options.native_transform_a
,options::Options.native_transform_b
,options::Options.native_transform_c
,options::Options.native_transform_d
… - wasm_plugins = wasmtime
-
Affects
gnostr-cat::wasm_transform_peer
,options::Options.wasm_transform_a
,options::Options.wasm_transform_b
,options::Options.wasm_transform_c
,options::Options.wasm_transform_d
… - wasm_compiler
-
Enables cranelift and parallel-compilation of wasmtime ^1.0.0
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.
- tokio-process default
-
Affects
gnostr-cat::process_peer
… - openssl-probe implicit feature
-
Enables openssl-probe
openssl-probe:
Tool for helping to find SSL certificate locations on the system for OpenSSL
- tokio-tls ssl
-
Enables tokio-tls ^0.2.0
- native-tls ssl
- readwrite ssl
-
Enables readwrite ^0.1.1
- chacha20poly1305 crypto_peer?
-
Enables chacha20poly1305 ^0.9.0
- argon2 crypto_peer?
-
Enables argon2 ^0.4.0
- prometheus prometheus_peer?
- prometheus-metric-storage prometheus_peer?
- flate2 compression
- libloading native_plugins?
-
Enables libloading ^0.7.3
- wasmtime wasm_compiler? wasm_plugins?
-
Enables wasmtime ^1.0.0
- tokio-named-pipes win windows_named_pipes
- tokio-signal unix signal_handler
- openssl-sys arm-linux-androideabi ssl vendored_openssl?