crabwurcs 0.2.0

crabWURCS: a pure-Rust toolkit for glycan notation conversion, chemical-structure interop, and SNFG rendering (facade crate)
Documentation

crabWURCS: a pure-Rust toolkit for glycan notation conversion, chemical-structure interop, and SNFG rendering.

This crate is a thin facade — it does no work itself, it just re-exports the workspace's other crates under one name so a consumer can use crabwurcs::... instead of depending on each sub-crate individually. All real logic lives in:

  • [core] — the WURCS grammar and the shared [core::ResidueGraph] model
  • [iupac] — IUPAC condensed/extended notation
  • [mol] — MOL/SDF/SMILES chemical structure interop (MolWURCS equivalent)
  • [pdb] — glycan extraction from PDB/mmCIF structures
  • [snfg] — SNFG SVG rendering (seq2snfg equivalent)

The facade also contains compact source-WURCS and notation-derived lookup tables for all 943 GlycoShape records (938 molecularly specified structures plus four notation-only edge cases, with duplicate records sharing rows). Equivalent SMILES serializations are resolved by the pure-Rust molecular backend; previously unseen glycan extraction remains the unfinished MolWURCS-specific layer.

The sections below — generated from the renderer's own output — document every supported monosaccharide symbol, the SNFG rendering rules, and motif highlighting.