It is not as if the same effort will be dedicated to switching to modules than a rewrite (which probably won't happen for the OP)
15 karma · joined December 12, 2020
You can include the hash of the commit used for your paper.
Here is the discussion from /r/math: https://www.reddit.com/r/math/comments/l4zhxh/the_map_of_mat...
Also, this assumes it is known upfront what this required knowledge would be...