summaryrefslogtreecommitdiff
path: root/Cargo.toml
blob: eec0a4e742812cafb9fccdb9beca1bb7889d550a (plain)
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
[package]
name = "pandoc-filter-diagram"
version = "0.2.1"
edition = "2018"
authors = [
  "Lars Wirzenius <liw@liw.fi>",
  "Daniel Silverstone <dsilvers@digital-scurf.org>",
]
license = "MIT-0"
description = '''render diagram markup in a Pandoc abstract syntax tree as SVG'''
repository = "https://gitlab.com/larswirzenius/pandoc-filter-diagram"
rust-version = "1.56.0"

[features]
default = ["ast_07"]
ast_07 = ["pandoc_ast_07"]
ast_08 = ["pandoc_ast_08"]

[dependencies]
anyhow = "1.0.50"
base64 = "0.13.0"
pandoc_ast_07 = { package = "pandoc_ast", version = "0.7", optional = true }
pandoc_ast_08 = { package = "pandoc_ast", version = "0.8", optional = true }
pikchr = "0.1.1"
roadmap = "0.4.3"
serde = { version = "1.0.101", features = ["derive"] }
serde_json = "1.0.72"
thiserror = "1.0.30"

[build-dependencies]
subplot-build = "0.9.0"

[dev-dependencies]
subplotlib = "0.9.0"
fehler = "1.0.0"