ReShiki
Copyright (c) 2026 Ameyanagi and ReShiki contributors

Original ReShiki code and documentation are available under MIT OR Apache-2.0.
See LICENSE for scope and LICENSE-MIT and LICENSE-APACHE for the full terms.

Third-party material retains its own terms. Source attribution, descriptions
of adaptations, copyright notices, and license texts are recorded in:

  nazuchem dependency     Naming engines and their molecular perception kernel
                          https://github.com/Ameyanagi/nazuchem
  licenses/rdkit/          Molecular algorithms, data, and reference fixtures
  licenses/centres/        Extended-tetrahedral CIP configuration (BSD-2-Clause)
  licenses/openclatura/    Structure-to-name port, rule tables, and fixtures (MIT)
  licenses/cdxml-native/   Molecular interchange parser adaptations
  licenses/inchi/          InChIKey adaptations and the Rust InChI kernel
  licenses/cpython/        Numerical algorithm adaptations
  licenses/stdlib/         Standard-library algorithm adaptations
  licenses/amd-win-libm/   Windows numerical algorithm adaptations
  licenses/oklab/          Public-domain perceptual color conversion matrices
  licenses/iced/           Canvas glyph rendering adaptation and patched Iced crates (MIT)
  licenses/vesta-colors/   VESTA element colours via pymatgen (MIT)
  licenses/liberation-fonts/ Liberation Sans, the bundled Arial fallback (OFL-1.1)
  licenses/dejavu-fonts/   Interface symbols from DejaVu Sans in the browser build (Bitstream Vera)
  licenses/nmrshiftdb2/    Observed-shift derivative database (separate data license)
  data/nmr/               Offline index, provenance and held-out validation
  licenses/name-aliases/   Offline retained-name catalog (OPSIN MIT; ChEBI CC BY 4.0)
  licenses/rust/           Notices omitted from published dependency archives
  vendor/zune-jpeg/        Modified JPEG dependency and its upstream notices
  vendor/usvg/            Variable-font weight support in the SVG dependency
  vendor/svg2pdf/         Variable-font PDF instances and upstream notices

  tests/fixtures/crystal/  COD ferrocene data (CC0; source notice retained)

Individual files and fixture directories may contain additional notices.
Dependencies retain the licenses declared by their respective projects;
the project-level dual license does not relicense them.

The naming engines come from the nazuchem git dependency, pinned at release
v0.2.0 (5dd39d8245b43d3437c9bb2ab881eeafca8221d7). Its repository retains
the per-file provenance ledger and complete crate-local notices and license
texts:
name-to-structure is a Rust port of OPSIN by Daniel Lowe (MIT), tracking main
after 2.9.0; structure-to-name began as a port of openclatura 0.4.3 by
lamalab-org (MIT), extended in ReShiki, and includes OPSIN-derived data and
a CPython integer-set adaptation (Python-2.0). Its retained heterocycle list
is transcribed from IUPAC Recommendations 2013, P-25.2.1 Table 2.8 (IUPAC
copyright; no licence asserted). The perception kernel adapts RDKit
(BSD-3-Clause) and SiMolecule centres (BSD-2-Clause). The root attribution
records listed above remain applicable to ReShiki's retained code, data and
fixtures. Historical crates/opsin/ and crates/nazuchem* paths in retained
attribution records identify source locations before the split; current
naming sources and provenance live in the external nazuchem repository at the
pin above.

Binary distributions include a Licenses directory. It contains this notice,
the project license texts, and THIRD-PARTY-NOTICES.txt with the source
attribution records, dependency versions and declarations, and complete
upstream license texts and notices. Identical texts are included once,
with an explicit reference for each dependency and original source file.

On macOS these files are inside ReShiki.app/Contents/Resources/Licenses.
