aboutsummaryrefslogtreecommitdiff
path: root/lib/typst/Cargo.toml
diff options
context:
space:
mode:
Diffstat (limited to 'lib/typst/Cargo.toml')
-rw-r--r--lib/typst/Cargo.toml23
1 files changed, 23 insertions, 0 deletions
diff --git a/lib/typst/Cargo.toml b/lib/typst/Cargo.toml
new file mode 100644
index 0000000..dc7eb97
--- /dev/null
+++ b/lib/typst/Cargo.toml
@@ -0,0 +1,23 @@
+[package]
+name = "typdown-typst"
+version = "0.1.0"
+edition = "2024"
+
+[lib]
+crate-type = ["cdylib"]
+
+[dependencies]
+typst = "0.14.2"
+typst-kit = "0.14.2"
+typst-svg = "0.14.2"
+
+[profile.release]
+opt-level = 2
+codegen-units = 1
+lto = true
+strip = true
+
+[features]
+default = ["embed-fonts"]
+
+embed-fonts = ["typst-kit/embed-fonts"]