Skip to content

Conversation

@ferxalbs
Copy link
Contributor

@ferxalbs ferxalbs commented Sep 6, 2025

This commit introduces a complete documentation overhaul for the rainy-sdk crate.

The changes include:

  • Adding detailed Rustdoc comments to all public items, including structs, enums, functions, and methods across all modules (lib.rs, client.rs, auth.rs, models.rs, error.rs, retry.rs, and the endpoints modules).
  • Ensuring all documentation follows standard Rustdoc conventions, with explanations for the purpose, arguments, and return values of each item.
  • Adding runnable examples to the documentation where appropriate to improve clarity and ease of use.
  • Significantly updating the README.md to serve as a comprehensive guide for new developers. The README now includes a better quick-start guide, improved examples for all core operations, and clearer instructions.
  • Adding a new get_credit_info method to the RainyClient as a modern replacement for the now-deprecated get_credit_stats method.

The documentation has been verified by running cargo doc --all-features, which completed successfully without any warnings. This ensures a high-quality, well-documented, and approachable SDK for all users.

This commit introduces a complete documentation overhaul for the `rainy-sdk` crate.

The changes include:
- Adding detailed Rustdoc comments to all public items, including structs, enums, functions, and methods across all modules (`lib.rs`, `client.rs`, `auth.rs`, `models.rs`, `error.rs`, `retry.rs`, and the `endpoints` modules).
- Ensuring all documentation follows standard Rustdoc conventions, with explanations for the purpose, arguments, and return values of each item.
- Adding runnable examples to the documentation where appropriate to improve clarity and ease of use.
- Significantly updating the `README.md` to serve as a comprehensive guide for new developers. The README now includes a better quick-start guide, improved examples for all core operations, and clearer instructions.
- Adding a new `get_credit_info` method to the `RainyClient` as a modern replacement for the now-deprecated `get_credit_stats` method.

The documentation has been verified by running `cargo doc --all-features`, which completed successfully without any warnings. This ensures a high-quality, well-documented, and approachable SDK for all users.
@ferxalbs ferxalbs closed this Sep 6, 2025
@ferxalbs ferxalbs deleted the master branch September 6, 2025 04:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants