Cargo Features
Lyanne has no features set by default.
[dependencies]
lyanne = { version = "0.6.2", features = ["client", "server", "rt_async_executor", "rt_async_std", "rt_bevy", "rt_smol", "rt_tokio", "sd_bincode", "auth_tcp", "auth_tls", "bevy_packet_schedules", "deserialized_message_map", "store_unexpected", "no_panics"] }
- client
-
Enables client of lyanne-derive
Affects
auth_tcp::AuthTcpClientProperties
,auth_tls::RootCertStoreProvider
,auth_tls::AuthTlsClientProperties
,lyanne::client
,internal::node
,packets::Packet.client_schedule
,packets::ClientPacketResource
,packets::ClientTickEndPacketClientSchedule
,packets::ServerTickEndPacketClientSchedule
,packets::EmptyPacketClientSchedule
… - server
-
Enables server of lyanne-derive
Affects
auth_tcp::AuthTcpServerProperties
,auth_tls::ServerCertProvider
,auth_tls::AuthTlsServerProperties
,lyanne::server
,internal::node
,packets::Packet.server_schedule
,packets::ServerPacketResource
,packets::ClientTickEndPacketServerSchedule
,packets::ServerTickEndPacketServerSchedule
,packets::EmptyPacketServerSchedule
… - rt_async_executor
-
Enables async-executor, async-lock, async-net, futures, and futures-timer
- rt_async_std
-
Enables async-std, futures, and futures-timer
- rt_bevy
-
Enables async-lock, async-net, bevy_tasks, futures, and futures-timer
- rt_smol
-
Enables async-executor, async-lock, async-net, futures, futures-timer, and smol
- rt_tokio
-
Enables tokio
- sd_bincode
-
Enables bincode, serde, sd_bincode of lyanne-derive
- auth_tcp
-
Enables chacha20poly1305
Affects
lyanne::auth_tcp
,auth::InnerAuthTcpBased
… - auth_tls
-
Enables chacha20poly1305, futures-rustls, rustls-pemfile, and tokio-rustls
Affects
lyanne::auth_tls
,auth::InnerAuthTcpBased
… - bevy_packet_schedules
-
Enables bevy_ecs, bevy_packet_schedules of lyanne-derive
Affects
packets::Packet.client_schedule
,packets::Packet.server_schedule
,packets::ClientPacketResource
,packets::ServerPacketResource
,packets::ClientTickEndPacketClientSchedule
,packets::ClientTickEndPacketServerSchedule
,packets::ServerTickEndPacketClientSchedule
,packets::ServerTickEndPacketServerSchedule
,packets::EmptyPacketClientSchedule
,packets::EmptyPacketServerSchedule
… - deserialized_message_map
- store_unexpected
-
Affects
auth::DisconnectedConnectError.unexpected_errors
,init::client.create_store_unexpected_error_list_handler
,client::UnexpectedError
,client::ReceivedMessageClientTickResult.unexpected_errors
,node::StoreUnexpectedErrors
,node::NodeType.store_unexpected_error_list_pick
,node::NodeInternal.store_unexpected_errors
,init::server.create_store_unexpected_error_list_handler
,server::UnexpectedError
,server::ServerTickResult.unexpected_errors
… - no_panics