Repository navigation
v0.2.0 - Account Module Refactor & Type Safety Improvements
๐ Features & Improvements
- Account Module Overhaul: The AccountClient has been significantly refactored to provide full type safety. Methods now return strongly-typed DTOs (e.g., WalletBalanceResult, AccountInfoResult) instead of generic
serde_json::Value. - Inline Testing: Refactored deserialization tests to be inline within their respective DTO modules for better maintainability and verified 100% coverage for Account DTOs.
- New Example: Added examples/account_example.rs to demonstrate library usage for external consumers.
- Documentation: Updated README.md with badges for Crates.io and Docs.rs.
๐ฆ Crates.io
This version is now published on Crates.io:
https://crates.io/crates/bybit-rust-api
๐ Fixes
- Fixed potential
private_interfacewarnings in DTOs. - Improved error handling in parameter serialization.