Cargo Features
[dependencies]
pulsar-binary-protocol-spec = { version = "0.0.1", default-features = false, features = ["with-asynchronous", "with-compression-lz4", "with-compression-zlib", "with-hacking-commands"] }
- default = with-asynchronous
-
The
with-asynchronous
feature is set by default wheneverpulsar-binary-protocol-spec
is added without
somewhere in the dependency tree.default-features = false - with-asynchronous default = async-channel, futures-channel
- with-compression-lz4 = lz4
-
Affects
compression::lz4
… - with-compression-zlib = flate2
-
Affects
compression::zlib
… - with-hacking-commands
-
Affects
ack_command::AckCommand.inner_command
,ack_response_command::AckResponseCommand.inner_command
,connect_command::ConnectCommand.inner_command
,connected_command::ConnectedCommand.inner_command
,error_command::ErrorCommand.inner_command
,flow_command::FlowCommand.inner_command
,message_command::MessageCommand.inner_command
,message_command::MessageCommand.message_metadata
,message_command::MessageCommand.payload
,ping_command::PingCommand.inner_command
,pong_command::PongCommand.inner_command
,producer_command::ProducerCommand.inner_command
,producer_success_command::ProducerSuccessCommand.inner_command
,redeliver_unacknowledged_messages::RedeliverUnacknowledgedMessagesCommand.inner_command
,send_command::SendCommand.inner_command
,send_command::SendCommand.message_metadata
,send_command::SendCommand.payload
,send_error_command::SendErrorCommand.inner_command
,send_receipt_command::SendReceiptCommand.inner_command
,subscribe_command::SubscribeCommand.inner_command
…
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.