tfachmann / typst-as-library

Simple demo that demonstrates how to use typst as a library in Rust
Apache License 2.0
19 stars 1 forks source link

release to crates-io #3

Open flxzt opened 2 weeks ago

flxzt commented 2 weeks ago

Hi, thanks for writing this wrapper. It is much more conventient to use than having to write and maintain the typst world boilerplate code myself.

Are you planning to publish this to crates-io, possibly syncing releases with typst? This way it can be ensured that the sources will always be available. :)

tfachmann commented 2 weeks ago

You're welcome! This was more of a case study for me, unifying the available resources. At the time of writing this boilerplate, typst wasn't event released to crates.io and I needed a git reference to it to function (and therefore making it impossible to uploada to crates.io)

Ideally, typst itself provides a more intuitive API to work with.

But until then, it may be beneficial for others to upload it, what do you think?

flxzt commented 2 weeks ago

Yes, I think until typst has improved their World API it would be nice to use this wrapper as a published crate. :) I think I have a fix for #2 and will open a PR for it soon, what other issues need to be resolved/features implemented before doing a release in your opinion?

tfachmann commented 2 weeks ago

I think with that, we could already create a release!