-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
39 lines (35 loc) · 1.55 KB
/
Copy pathCargo.toml
File metadata and controls
39 lines (35 loc) · 1.55 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
[package]
name = "rustcfml-typst"
version = "0.1.0"
edition = "2021"
rust-version = "1.85"
license = "MIT OR Apache-2.0"
description = "Typst-backed document generation for RustCFML — a fluent Document() builder and <cfdocument> support, as a native module."
repository = "https://github.com/RustCFML/RustCFML-Extension-Typst"
readme = "README.md"
keywords = ["cfml", "rustcfml", "typst", "pdf", "cfdocument"]
categories = ["template-engine"]
# Not on crates.io: this is distributed as a `.rcx`, built per platform. It also
# keeps the crate out of its own THIRD-PARTY.txt, which cargo-about would
# otherwise list as one of its own third-party dependencies.
publish = false
[lib]
# `cdylib` is what a `.rcx` extension ships. `rlib` keeps the same source
# linkable by the static `rustcfml --build` path.
crate-type = ["cdylib", "rlib"]
[dependencies]
# The extension ABI wrapper — the ONLY RustCFML dependency. Building this module
# no longer needs an engine checkout, a matching rustc, or the engine's
# allocator: everything crosses as an opaque handle over a C ABI.
rustcfml-module = { path = "../RustCFML/crates/rustcfml-module" }
# Typst. Apache-2.0 throughout, already inside RustCFML's accepted licence set.
typst = "0.15"
typst-library = "0.15"
typst-layout = "0.15"
typst-pdf = "0.15"
# System fonts. Typst needs real faces; see docs/PLAN.md on why they are not
# embedded (typst-assets is 6.7 MB and its fonts are OFL-1.1, which is NOT in
# RustCFML's accepted list).
fontdb = "0.24"
[profile.release]
opt-level = 3