-
Notifications
You must be signed in to change notification settings - Fork 294
Description
Hi team,
I wanted to share a side project that may be useful to the Rust ecosystem, especially for documentation tools, learning platforms, or AI-assisted programming environments.
I’ve built a structured, machine-usable version of the Rustonomicon, derived directly from the Markdown source:
What It Includes
nomicon_canon_nodes.jsonl: Line-delimited JSON with canonical IDs, titles, tags, trust levels (safe or hazardous), and SHA-256 content hashes.
nomicon.sqlite3: SQLite version of the same data for fast querying, tooling, and offline analysis.
Fully compliant with the original licensing (MIT OR Apache 2.0).
No modifications to the core content—just structure added to enable automated use.
Intended Use Cases
LSP plugins or rust-analyzer enhancements
Static/dynamic analysis tools (e.g., unsafe call tracing)
Educational tools and intelligent code tutors
Fuzzing and verification harnesses that require canonical unsafe examples
Live Repo
Right now the files are loose in /src, so I'm moving them to /src/codex for clarity.
If this is useful, I’d be happy to upstream the codex/ directory into this repo, or maintain it separately with your blessing.
Appreciate your work and the community’s time—happy to hear any feedback or suggestions.
Thanks!