[package]
edition = "2021"
rust-version = "1.95"
name = "merman-typst-plugin"
version = "0.8.0-alpha.3"
authors = ["Mingzhen Zhuang <superfrankie621@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Typst WebAssembly plugin bridge for merman SVG rendering."
homepage = "https://github.com/Latias94/merman"
documentation = "https://docs.rs/merman-typst-plugin"
readme = "README.md"
keywords = [
"mermaid",
"typst",
"wasm",
"svg",
"plugin",
]
categories = [
"wasm",
"visualization",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/Latias94/merman"
[features]
analysis = ["merman-bindings-core/analysis"]
core-full = ["merman-bindings-core/core-full"]
core-host = ["merman-bindings-core/core-host"]
cytoscape-layout = ["merman-bindings-core/cytoscape-layout"]
default = [
"render",
"analysis",
"elk-layout",
]
elk-layout = ["merman-bindings-core/elk-layout"]
ratex-math = [
"render",
"merman-bindings-core/ratex-math",
]
render = [
"merman-bindings-core/render",
"dep:serde_json",
]
[lib]
name = "merman_typst_plugin"
crate-type = [
"cdylib",
"rlib",
]
path = "src/lib.rs"
[dependencies.merman-bindings-core]
version = "0.8.0-alpha.3"
default-features = false
[dependencies.serde_json]
version = "1.0.150"
features = ["preserve_order"]
optional = true
[dependencies.wasm-minimal-protocol]
version = "0.2.0"
[dev-dependencies.serde_json]
version = "1.0.150"
features = ["preserve_order"]