Cargo Features
[dependencies]
irelia = { version = "0.9.1", default-features = false, features = ["full", "rest", "in_game", "ws", "replay", "rest_schema", "rustls", "nativetls", "encoder_nightly", "encoder_simd"] }
- default = full, rustls
-
These default features are set whenever
irelia
is added without
somewhere in the dependency tree.default-features = false - full default = in_game, rest, ws
- rest full
-
Enables hashlink, http-body-util, hyper, hyper-util, serde_derive, and sysinfo
Affects
irelia::rest
,utils::process_info
,utils::requests
… - in_game full replay?
-
Enables http-body-util, hyper, hyper-util, serde_derive, and time
Affects
irelia::in_game
,utils::requests
… - ws full
-
Enables serde_derive, serde_json, sysinfo, and tungstenite
serde_json:
Serde JSON is only used with the
rest_schema
andws
optionAffects
irelia::ws
,utils::process_info
… - replay = in_game
-
Enables sysinfo
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
… - rustls default
-
Enables rustls and rustls-pki-types of tungstenite and hyper-rustls and rustls
rustls:
Rustls related
- nativetls
-
Enables native-tls of tungstenite and hyper-tls and native-tls
native-tls:
NativeTLS related
- encoder_nightly
-
Enables nightly of irelia_encoder
- encoder_simd
-
Enables simd of irelia_encoder