tfachmann / typst-as-library

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

Make main.rs an example instead of a binary #1

Closed LighghtEeloo closed 2 months ago

LighghtEeloo commented 5 months ago

Thank you for the nice demonstration of using typst as a library! I've learnt a lot while reading the repo.

My only advice is that it's better not to treat main.rs as a binary because AFAIK binary will get published. One can turn it into an example or a test case instead.

tfachmann commented 2 months ago

Thanks a lot for your input!