Cargo Features

[dependencies]
irelia = { version = "0.8.1", default-features = false, features = ["full", "rest", "rest_schema", "in_game", "ws", "replay", "encoder_nightly", "encoder_simd"] }
default = full

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

full default = in_game, rest, ws
rest full

Enables hashlink, http-body-util, hyper, hyper-rustls, hyper-util, serde_derive, and sysinfo ^0.31

Affects irelia::rest, utils::process_info, utils::requests

rest_schema = serde_json

Affects rest::types, rest::schema

in_game full replay?

Enables http-body-util, hyper, hyper-rustls, hyper-util, serde_derive, and time

Affects irelia::in_game, utils::requests

ws full = serde_json

Enables serde_derive, sysinfo ^0.31, and tungstenite ^0.23

Affects irelia::ws, utils::process_info

replay = in_game

Affects irelia::replay

encoder_nightly

Enables nightly of irelia_encoder

encoder_simd

Enables simd of irelia_encoder

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.

serde_json rest_schema? ws?