Skip to content

docs(rust): API reference master#63

Closed
WomB0ComB0 wants to merge 1 commit into
mainfrom
auto/rust-api-master
Closed

docs(rust): API reference master#63
WomB0ComB0 wants to merge 1 commit into
mainfrom
auto/rust-api-master

Conversation

@WomB0ComB0
Copy link
Copy Markdown
Member

Auto-generated by API docs (Rust) in
resq-software/crates for ref master
(run: 25624299249).

Regenerated stub pages under sdks/rust/api/. Each page
embeds the crate's README and links to docs.rs for the
canonical API reference.

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 10, 2026

Warning

Rate limit exceeded

@WomB0ComB0 has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 12 minutes and 47 seconds before requesting another review.

You’ve run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: a442a2a0-e297-4a31-8d24-804043ececb3

📥 Commits

Reviewing files that changed from the base of the PR and between cc78942 and c94e3dd.

📒 Files selected for processing (39)
  • docs.json
  • sdks/rust/api/README.mdx
  • sdks/rust/api/_pages.json
  • sdks/rust/api/resq-ai.md
  • sdks/rust/api/resq-ai/config.md
  • sdks/rust/api/resq-ai/index.md
  • sdks/rust/api/resq-ai/provider.md
  • sdks/rust/api/resq-ai/token.md
  • sdks/rust/api/resq-cli.md
  • sdks/rust/api/resq-cli/commands.md
  • sdks/rust/api/resq-cli/commands/audit.md
  • sdks/rust/api/resq-cli/commands/commit.md
  • sdks/rust/api/resq-cli/commands/completions.md
  • sdks/rust/api/resq-cli/commands/copyright.md
  • sdks/rust/api/resq-cli/commands/dev.md
  • sdks/rust/api/resq-cli/commands/docs.md
  • sdks/rust/api/resq-cli/commands/explore.md
  • sdks/rust/api/resq-cli/commands/format.md
  • sdks/rust/api/resq-cli/commands/hook_templates.md
  • sdks/rust/api/resq-cli/commands/hooks.md
  • sdks/rust/api/resq-cli/commands/pre_commit.md
  • sdks/rust/api/resq-cli/commands/secrets.md
  • sdks/rust/api/resq-cli/commands/version.md
  • sdks/rust/api/resq-cli/gitignore.md
  • sdks/rust/api/resq-cli/index.md
  • sdks/rust/api/resq-cli/resq_cli.md
  • sdks/rust/api/resq-cli/utils.md
  • sdks/rust/api/resq-dsa.md
  • sdks/rust/api/resq-dsa/bloom.md
  • sdks/rust/api/resq-dsa/count_min.md
  • sdks/rust/api/resq-dsa/graph.md
  • sdks/rust/api/resq-dsa/heap.md
  • sdks/rust/api/resq-dsa/index.md
  • sdks/rust/api/resq-dsa/resq_dsa.md
  • sdks/rust/api/resq-dsa/trie.md
  • sdks/rust/api/resq-tui.md
  • sdks/rust/api/resq-tui/index.md
  • sdks/rust/api/resq-tui/resq_tui.md
  • sdks/rust/api/resq-tui/terminal.md
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch auto/rust-api-master

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions github-actions Bot added area:content MDX/MD documentation content area:meta Repo meta — docs.json, README, etc. labels May 10, 2026
Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request migrates the Rust SDK API documentation from high-level crate summaries to a granular, module-based structure across the resq-ai, resq-cli, resq-dsa, and resq-tui crates. Review feedback identifies several issues in the auto-generated content, such as factual inaccuracies in the audit module description, internal implementation details leaking into public signatures, truncated function descriptions, and invalid Rust syntax in generated documentation. The reviewer recommends applying these corrections to the source-level documentation or the generator logic to prevent regressions during future documentation regeneration cycles.

Comment on lines +9 to +31
- [`audit`](#audit) - Blockchain event auditing.
- [`commit`](#commit) - AI-powered commit message generation.
- [`completions`](#completions) - Shell-completion emitter (`resq completions <shell>`).
- [`copyright`](#copyright) - Copyright header management.
- [`dev`](#dev) - Development server management.
- [`docs`](#docs) - Documentation management and publication.
- [`explore`](#explore) - Service exploration and operations.
- [`format`](#format) - Polyglot source formatting (Rust, TS, Python, C++, C#).
- [`hook_templates`](#hook_templates) - Canonical git-hook templates embedded for scaffolding and drift detection.
- [`hooks`](#hooks) - Hooks lifecycle (`resq hooks install/scaffold-local/doctor/update/status`).
- [`pre_commit`](#pre_commit) - Pre-commit hook logic.
- [`secrets`](#secrets) - Secret management.
- [`version`](#version) - Version management and changesets.

---

## Module: audit

Blockchain event auditing.
Blockchain audit command.

Queries Neo N3 and Solana blockchains for ResQ event records,
providing audit trails for incident response and delivery verification.
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high

The description for the audit module is factually incorrect and redundant. Please update the source-level documentation to correctly identify it as a security/dependency audit tool rather than 'Blockchain event auditing', ensuring the fix persists across regeneration cycles.

References
  1. When fixing errors in auto-generated documentation, apply the changes to the source-level documentation (e.g. XML doc comments) instead of the generated files to ensure the fixes persist across regeneration cycles.

Comment on lines +39 to +41
- `fn deserialize<__D>(__deserializer: __D) -> _serde::__private228::Result<Self, <__D as >::Error>`
- **Debug**
- `fn fmt(self: &Self, f: & mut $crate::fmt::Formatter) -> $crate::fmt::Result`
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

Internal implementation details and macro expansion artifacts are leaking into the public documentation (e.g., _serde::__private228::Result). Please apply these fixes to the source-level documentation (e.g., Rust doc comments) or the generator logic instead of this generated file to ensure the fixes persist across regeneration cycles.

References
  1. When fixing errors in auto-generated documentation, apply the changes to the source-level documentation (e.g. XML doc comments) instead of the generated files to ensure the fixes persist across regeneration cycles.


**Functions**

- [`parse_gitignore`](#parse_gitignore) - Parse `.gitignore` from `root` and return a list of simple directory/file
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The description for the parse_gitignore function is truncated. To ensure this fix persists, please update the source-level documentation (e.g., Rust doc comments) with the full description: 'Parse .gitignore from root and return a list of simple directory/file names to exclude during traversal.'

References
  1. When fixing errors in auto-generated documentation, apply the changes to the source-level documentation (e.g. XML doc comments) instead of the generated files to ensure the fixes persist across regeneration cycles.

Comment on lines +52 to +53
- `fn add<impl AsRef<[u8]>>(self: & mut Self, item: impl Trait)` - Adds an element to the filter.
- `fn has<impl AsRef<[u8]>>(self: &Self, item: impl Trait) -> bool` - Checks if an element might be in the set.
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The generated function signatures for add and has contain invalid Rust syntax (<impl AsRef<[u8]>>) and generic placeholders. Please update the generator logic or source-level documentation to correctly handle impl Trait in argument positions, ensuring the fix persists across regeneration cycles.

References
  1. When fixing errors in auto-generated documentation, apply the changes to the source-level documentation (e.g. XML doc comments) instead of the generated files to ensure the fixes persist across regeneration cycles.

@WomB0ComB0
Copy link
Copy Markdown
Member Author

Closing — first cargo-doc-md run hit a [lib].name oversight + bare-link issue. Re-triggering with PR #64 applied.

@WomB0ComB0 WomB0ComB0 closed this May 10, 2026
@WomB0ComB0 WomB0ComB0 deleted the auto/rust-api-master branch May 10, 2026 08:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:content MDX/MD documentation content area:meta Repo meta — docs.json, README, etc. automated docs:api-ref language:rust

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants