a789495a98
FreeBSD Smoke / FreeBSD Smoke (x86_64) (push) Has been cancelled
CI / Quality Guardrails (push) Has been cancelled
CI / Build & Test (macos-latest) (push) Has been cancelled
CI / Build & Test (ubuntu-latest) (push) Has been cancelled
CI / Build & Test (windows-latest) (push) Has been cancelled
CI / Format (push) Has been cancelled
CI / PowerShell Syntax (push) Has been cancelled
CI / Windows Cross-Target Check (Linux) (push) Has been cancelled
32 lines
1.0 KiB
TOML
32 lines
1.0 KiB
TOML
[package]
|
|
name = "jcode-tui-mermaid"
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
publish = false
|
|
|
|
[features]
|
|
default = ["mmdr-size-api"]
|
|
renderer = ["dep:mermaid-rs-renderer"]
|
|
# Enables the renderer size API path. The pinned mmdr tag (v0.3.1+) ships the
|
|
# size API, and build.rs enables it by default; set JCODE_MMDR_SIZE_API_DISABLE=1
|
|
# to fall back to the legacy SVG-retarget path.
|
|
mmdr-size-api = ["renderer"]
|
|
|
|
[dependencies]
|
|
anyhow = "1"
|
|
base64 = "0.22"
|
|
crossterm = { version = "0.29", features = ["event-stream"] }
|
|
dirs = "5"
|
|
image = { version = "0.25", default-features = false, features = ["png", "jpeg"] }
|
|
jcode-tui-workspace = { path = "../jcode-tui-workspace" }
|
|
mermaid-rs-renderer = { git = "https://github.com/1jehuang/mermaid-rs-renderer.git", tag = "v0.3.1", optional = true }
|
|
ratatui = "0.30"
|
|
ratatui-image = { version = "10.0.6", default-features = false, features = ["crossterm"] }
|
|
resvg = "0.46"
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
usvg = "0.46"
|
|
|
|
[dev-dependencies]
|
|
jcode-plan = { path = "../jcode-plan" }
|