Cargo Features

[dependencies]
h1emu-core = { version = "1.2.8", default-features = false, features = ["full", "game-utils", "soeprotocol", "gatewayprotocol", "protocols", "crc", "rc4", "jenkins"] }
default = full

The full feature is set by default whenever h1emu-core is added without default-features = false somewhere in the dependency tree.

full default = crc, game-utils, gatewayprotocol, jenkins, protocols, rc4, soeprotocol
game-utils full = getrandom, rand

Affects h1emu-core::utils

soeprotocol full = byteorder, crc, protocols, serde, serde_json

Affects h1emu-core::soeprotocol, h1emu-core::soeprotocol_functions, h1emu-core::soeprotocol_packets_structs

gatewayprotocol full = byteorder, protocols, serde, serde_json

Affects h1emu-core::gatewayprotocol, h1emu-core::gatewayprotocol_packets_structs

protocols full gatewayprotocol? soeprotocol? = byteorder, serde, serde_json

Affects h1emu-core::protocol_errors

crc full soeprotocol? = byteorder

Affects h1emu-core::crc

rc4 full

Affects h1emu-core::rc4

jenkins full

Affects h1emu-core::jenkins

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.

getrandom game-utils?
rand game-utils?
byteorder crc? gatewayprotocol? protocols? soeprotocol?
serde_json gatewayprotocol? protocols? soeprotocol?
serde gatewayprotocol? protocols? soeprotocol?