annotate-snippets-rs icon indicating copy to clipboard operation
annotate-snippets-rs copied to clipboard

"modern" API, take cad.3

Open CAD97 opened this issue 6 years ago • 1 comments

Closes #13. See #13 for more details.

CAD97 avatar Oct 21 '19 02:10 CAD97

For clarity, since most of the code moved around and was adjusted: API design is by me, implementation code is directly adapted from the cleanup branch. I'd still suggest expanding package.authors to the authors credited in annotate-snippets, codespan, language-reporting, and retort:

authors = [
    "Brendan Zabarauskas <[email protected]>",
    "Christopher Durham (CAD97) <[email protected]>",
    "Yehuda Katz <[email protected]>",
    "Zibi Braniecki <[email protected]>",
] # alphabetical order

but that's directly up to the package maintainer. All code in this PR is either original or adapted from this package, though API design is inspired by all of the above.

CAD97 avatar Oct 21 '19 02:10 CAD97