Skip to content

Commit b9d5d2f

Browse files
gadievronclaudegadievron
authored
feat(rust): add Rust language parser support (#224)
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com> Co-authored-by: gadievron <gadi@unpromptedcon.org>
1 parent c523fef commit b9d5d2f

41 files changed

Lines changed: 3896 additions & 22 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

ARCHITECTURE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ flowchart TB
2828
subgraph py["Python engine — libs/openant-core"]
2929
cli["openant/cli.py<br/>argparse + cmd_* entry points"]
3030
scanner["core/scanner.py<br/>orchestration"]
31-
parsers["parsers/&lt;lang&gt;/<br/>7 language front-ends"]
31+
parsers["parsers/&lt;lang&gt;/<br/>9 language front-ends"]
3232
ctx["context/<br/>app context + threat model"]
3333
prompts["prompts/<br/>Stage 1 + Stage 2 prompt construction"]
3434
llm["utilities/llm/<br/>provider adapters, rate limit, cost"]

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ To submit your repo for scanning:
3333
- Ruby (beta)
3434
- Zig (beta)
3535
- Swift (beta)
36+
- Rust (beta)
3637

3738
## Credits
3839

@@ -219,7 +220,7 @@ Things on the list, in no particular order:
219220
- **More provider adapters.** Ollama (local models), vLLM, Cohere, Mistral, Groq, Amazon Bedrock, Azure OpenAI — each is a small Python adapter recipe (plus a few Go wizard/probe touch-points if you want it offered by `openant setup llm`) per the contributor guide. Lower the barrier to local / on-prem inference.
220221
- **Subscription-based auth.** ChatGPT / Codex, Claude Pro / Max, and Gemini Advanced subscriptions don't currently grant API quota — users have to maintain a separate API-tier key per provider. OAuth-based adapters that ride the consumer subscription would close that gap.
221222
- **Cross-provider tool-call quirks.** All three shipped adapters support tool calling, but the long tail (parallel tool calls, strict-mode schema enforcement, retry semantics on partial JSON) behaves differently per provider. Real-world scans surface these — PRs welcome.
222-
- **More languages.** The supported-languages list above is current coverage. Rust, Java, C#, and Swift come up frequently.
223+
- **More languages.** The supported-languages list above is current coverage. Java and C# come up frequently.
223224
- **Hosted scan service.** Knostic offers free scans for OSS projects today via the form linked above; a self-serve API for trusted partners is a future possibility.
224225

225226
PRs welcome on any of these — open an issue first if the scope is non-trivial so we can align before you build.

0 commit comments

Comments
 (0)