Make html/svg optional
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 56.1k
- Forks
- 1.7k
- Avg merge
- 3d 10h
- Merged PRs (30d)
- 22
Description
Description
We use typst only for PDF but still pay the price of about 50 crates that are needed of mandatory html/svg dependency.
Can you please make html/svg optional (can be still the default but ability to opt out).
Use Case
See above. Only use typst for PDF but need to compile/build/include much more than I need.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no files, tests, or entry points. Start by locating the Rust dependency and feature declarations that pull in HTML and SVG support, then trace how those features reach PDF-only builds. Done means HTML/SVG dependencies can be disabled while the default build remains unchanged and PDF functionality still works.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- build-system
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100