myform
======

myform is licensed under the Mozilla Public License 2.0 (see LICENSE). The private native
extension (`myform._typst_native`) links the following third-party material. Its Rust
dependencies are named, with their licences, by `Cargo.lock` and the crates' own metadata.

hayagriva and citationberg
--------------------------

The citation and reference formatter (`src/cite.rs`) runs on `hayagriva` 0.10.1 and its
`citationberg` 0.7 CSL reader, by Martin Haug and the Typst contributors, from
https://github.com/typst/hayagriva. Both are licensed under MIT OR Apache-2.0.

Citation Style Language (CSL) styles and locale
-----------------------------------------------

The following files under `src/csl/` are compiled into the native extension unmodified, as data:

- `apa.csl`: APA Style 7th edition
- `chicago-notes-bibliography.csl`: Chicago Manual of Style 18th edition (notes and bibliography)
- `chicago-author-date.csl`: Chicago Manual of Style 18th edition (author-date)
- `modern-language-association.csl`: MLA Handbook 9th edition
- `locales-en-US.xml`: the CSL en-US locale

They come from the Citation Style Language projects, https://github.com/citation-style-language/styles
and https://github.com/citation-style-language/locales, whose contributors are named in the
`<info>` block of each file. Each file is licensed under the Creative Commons
Attribution-ShareAlike 3.0 Unported license (CC BY-SA 3.0),
https://creativecommons.org/licenses/by-sa/3.0/, as its own `<rights>` element says.

These files are unmodified: `src/csl/provenance.json` records the upstream commit and the SHA-256
of each, and `tests/test_cite_engine.py` checks both. A file that is changed would be an adaptation
under the licence's share-alike condition, so the files are replaced from upstream and never
edited in place. A style that a user passes at run time, as CSL text, is not part of this
distribution.
