Skip to content

cli: use runtime typst version in about output - #318

Merged
tingerrr merged 1 commit into
typst-community:mainfrom
T1mVo:typst-version
Aug 26, 2026
Merged

cli: use runtime typst version in about output#318
tingerrr merged 1 commit into
typst-community:mainfrom
T1mVo:typst-version

Conversation

@T1mVo

@T1mVo T1mVo commented Aug 26, 2026

Copy link
Copy Markdown
Contributor

Summary

See commit messages.

Follow up to #283 where this method was not available yet.

Checklist

  • I have structured my commits according to the commit guidelines (if applicable).
  • I have added tests for new features (if applicable).
  • I have updated the documentation (if applicable).

This drops the build-time `TYTANIC_TYPST_VERSION` logic from `build.rs`
and instead reads the typst version at runtime via `typst::utils::version()`.

@tingerrr tingerrr left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, could've sworn I already did this...

@tingerrr
tingerrr merged commit 256befb into typst-community:main Aug 26, 2026
14 checks passed
@T1mVo
T1mVo deleted the typst-version branch August 26, 2026 21:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants