utpm
utpm copied to clipboard
Other install options
It would be great to have this on crates.io so that users could simply install using cargo install utpm. I don't know if you have any interest in other package managers, but I am on a mac and have experience with homebrew and could create a tap for brew install.
Good idea! I already had an interest in it but since they are a LOT of package manager I don't really know where to start but it's definitely in my todo list! You can create a tap for brew if you want, like I said, any help is always wanted! Thank you!
Yes you are right there are so many different platforms to consider. I think cargo is the most important since Typst developers almost certainly will have Rust installed. You already have a way to install it with cargo currently which is great, I think cargo binstall or a regular cargo install would still be good in the future. I'll see about getting a homebrew tap working in the next few days but I don't see it as a huge priority.
A friend of mine will (potentially) add nix support here!
Any progress on an upload to crates.io?
It's a bit complicated.
Tinger had made a crate named typst-project that I've used for a long time but it is not published directly to crates.io.
They made two new crates named typst-syntax and typst-kit which contains a bit of typst-project but not all of it.
So I need to rewrite pretty much 50% of the code that I have to publish it.
As my finals are coming, I think I'll do it a bit later.
Meanwhile I'll finish publish command this month or in january.
I'll check debian, ubuntu, arch and fedora packaging system to add utpm on them!
I think mirroring what tytanic does would be valuable:
- release to crates.io (once the blockers are resolved)
- add Github releases with binaries for various platforms, via a Github action)
then you can install using cargo binstall, which is much quicker (and energy saving) than cargo install. And it would enable using utpm in the template's CI (next step: setup-utpm action).
On the last PR #83 I've added a lot of packages manager. If you want to look at that, feel free!