-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Publish to crates.io #90
Comments
Who except Neovim is expected to use this parser? |
I'm using it right now to build a cli to convert vimdoc to html. |
I want a standalone binary rather than needing to pull in neovim or something else to run lua, and I also need more flexibility in what and how I generate the HTML. For that script, I would need to fork the lua file (to my knowledge) to alter and maintain CSS. I may also do a conversion to markdown so I can more cleanly integrate it into a pre-existing statically-generated website. Is there a reason not to publish this crate? I wouldn't think a maintenance burden would be a concern since you already have the Rust support available as part of tree sitter and have releases tagged. |
The script outputs a
No reason except needing to manage another account and upload process. (idk what's involved with publishing to crates) |
I'm happy to help here including setting up automatic publishing through a Github action, since I have a decent background in Rust library development and crate publishing. The main challenge today with publishing is that you still need to tie crates to an owner. Not sure if neovim has any generic account that the core maintainers have access to. From discussion about publishing:
|
github workflow to publish a treesitter crate: https://github.com/neovim/tree-sitter-c/blob/nvimc/.github/workflows/publish_crate.yml |
Upstream is experimenting with release and publish actions (using org secrets for cargo and npm); once all the issues are ironed out, we'll likely add them for all our parsers. No point in doing special things for this parser alone. |
I noticed that this library has official releases with the latest being 1.2.5.
Is publishing the Rust crate planned? This would mirror other established treesitter libraries like tree-sitter-javascript and tree-sitter-md.
Would enable others to build off the library without a cargo git dependency, which is a requirement to publish a crate to crates.io.
The text was updated successfully, but these errors were encountered: