docs.rs failed to build typst-embedded-package-0.4.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
typst-embedded-package-0.3.0
Typst-Embedded-Package
Embed typst packages directly in the binary.
How to use
- Download package archives from https://typst.app/universe/search/?kind=packages
- Move those archives somewhere in the
srcdirectory - Include the archives with
include_package! - Read the content of the archive with
Package::read_archive(requires theread-archivefeature)
// Embed the package located at "/src/typst-packages/preview/cetz-0.3.1.tar.gz"
const CETZ: Package = include_package!;
// Embed multiple packages.
const PACKAGES: = include_package!;