Cargo Features
[dependencies]
irelia = { version = "0.10.0", default-features = false, features = ["full", "rest", "in_game", "ws", "ws_nativetls", "ws_rustls", "replay", "rest_schema", "http", "encoder_nightly", "encoder_simd"] }
- default = full, http, ws_rustls
-
These default features are set whenever
irelia
is added without
somewhere in the dependency tree.default-features = false Enables http-body-util, hyper, hyper-rustls, hyper-util, and rustls
rustls:
Rustls related
- full default = in_game, rest, ws
- rest full
-
Enables hashlink, serde_derive, and sysinfo ^0.33
Affects
irelia::rest
,irelia::error
,utils::process_info
,utils::requests
… - in_game full replay?
-
Enables serde_derive and time
Affects
irelia::in_game
,irelia::error
,utils::requests
… - ws full
-
Enables serde_derive, serde_json, sysinfo ^0.33, and tungstenite
serde_json:
Serde JSON is only used with the
rest_schema
andws
optionAffects
irelia::ws
,utils::process_info
… - ws_nativetls
-
Enables native-tls of tungstenite
- ws_rustls default
-
Enables rustls and rustls-pki-types of tungstenite
- replay = in_game
-
Enables sysinfo ^0.33
Affects
irelia::replay
… - rest_schema
-
Enables serde_json, rustls-native-certs of hyper-rustls and std of serde
Serde related
Affects
rest::types
,rest::schema
… - http default
- encoder_nightly
-
Enables nightly of irelia_encoder
- encoder_simd
-
Enables simd of irelia_encoder