- Add generic request interface
- Bodies now take
T
rather thanOption<T>
, use the generic request interface if you need to post a completely empty buffer in_game
now properly supports events, this applies to the replay API as wellreplay
Sequence
has been replaced withFrameList
, this conversion is handled automaticallyws
now takes FnMut, to allow capturing and mutating variables
- Update batching system
- Provide proper usage examples
- Rename
LCUError
toError
- Make
process_info.rs
public - Allow the user to always read the lockfile
- Functions now take
AsRef<str>
rather thanDeref<Target = str>
- The InGame struct is now zero-sized
- The LCU can now be refreshed, takes
&mut self
- Rename
LCUClient
toLcuClient
LcuClient::new()
now takesforce_lock_file
Head
requests now return a raw hyperResponse<Incoming>
Head
requests can no longer be batched- Constants for the game and client name are now public
- General code cleanup
- A number of functions have been marked with
#[must_us]
- Replay API Wrapper (disabled by default)
- In Game endpoints that take
summoner
name takeAsRef<str>
- Instead of being public, in game types now have getters
- Updated to the latest version of all dependencies
- Fixed simd encoder on latest nightly toolchain
- Rework the request client system
- General improvements to the API usability
- Remove a global lock
- General code cleanup
- Implement std::error::Error for LCU Error
- Implement Serialize for LCU Error
- Allow batching system to take multiple types
- Rework the way in_game and rest make requests
- Move to hyper_rustls
- Move to workspaces
- Feature gate batched requests, off by default
- Added Tauri feature where error implements ToString and serde::Serialize
- Reworked the error enum to use anonymous fields
- Requires nightly for array_chunks, int_rounding, and lazylock
- Rewrite and re-export the base64 encoder
- Updated Websocket System
- Websocket now implements stream
- Websocket now has proper encapsulation
- Websocket makes use of enums to represent callbacks
- Implement batching system for LCU requests
- Improve docs
- Improve cargo.toml
- Implement tests for base64 encoder
- General code cleanup