forked from Latias94/merman
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
102 lines (97 loc) · 3.11 KB
/
Copy pathCargo.toml
File metadata and controls
102 lines (97 loc) · 3.11 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
[workspace]
resolver = "2"
members = [
"crates/merman",
"crates/merman-core",
"crates/merman-ascii",
"crates/merman-bindings-core",
"crates/merman-cli",
"crates/merman-ffi",
"crates/merman-render",
"crates/merman-uniffi",
"crates/merman-wasm",
"crates/dugong",
"crates/dugong-graphlib",
"crates/manatee",
"crates/roughr",
"crates/xtask",
]
exclude = [
"repo-ref/dear-imgui-rs",
"repo-ref/mermaid-rs-renderer",
]
[workspace.package]
version = "0.7.0"
edition = "2024"
authors = ["Mingzhen Zhuang <superfrankie621@gmail.com>"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/Latias94/merman"
homepage = "https://github.com/Latias94/merman"
rust-version = "1.87"
[workspace.dependencies]
base64 = "0.22.1"
euclid = "0.22"
htmlize = { version = "1.0.6", features = ["unescape"] }
indexmap = { version = "2.2.6", features = ["serde"] }
lalrpop = "0.20.2"
lalrpop-util = "0.20.2"
logos = "0.14.4"
nalgebra = { version = "0.34.1", default-features = false, features = ["std"] }
pulldown-cmark = "0.12.2"
ratex-layout = "0.1.10"
ratex-parser = "0.1.10"
ratex-svg = { version = "0.1.10", default-features = false }
ratex-types = "0.1.10"
regex = "1.11.1"
roxmltree = "0.20.0"
rustc-hash = "2.1.1"
ryu-js = "1.0.2"
roughr = { package = "roughr-merman", path = "crates/roughr", version = "0.12.0" }
serde = { version = "1.0.217", features = ["derive", "rc"] }
serde_json = { version = "1.0.138", features = ["preserve_order"] }
serde_yaml = "0.9.34"
json5 = "0.4.1"
thiserror = "2.0.11"
tracing = "0.1.41"
uniffi = "0.31.1"
futures = "0.3.31"
hashbrown = "0.16.1"
lol_html = "2.7.1"
url = "2.5.4"
uuid = { version = "1.12.1", features = ["v4", "js"] }
chrono = { version = "0.4.40", features = ["clock"] }
console_error_panic_hook = "0.1"
image = { version = "0.25", default-features = false, features = ["jpeg"] }
png = "0.17.16"
resvg = "0.46.0"
serde-wasm-bindgen = "0.6"
usvg = "0.46.0"
tiny-skia = "0.11.4"
svg2pdf = "0.13.0"
unicode-width = "0.2.2"
wasm-bindgen = "0.2"
web-time = "1.1.0"
# Workspace crates (publishable). Keeping versions explicit makes `cargo publish` work without
# duplicating version requirements across crates.
merman = { path = "crates/merman", version = "0.7.0" }
merman-ascii = { path = "crates/merman-ascii", version = "0.7.0" }
merman-bindings-core = { path = "crates/merman-bindings-core", version = "0.7.0", default-features = false }
merman-core = { path = "crates/merman-core", version = "0.7.0" }
merman-ffi = { path = "crates/merman-ffi", version = "0.7.0" }
merman-render = { path = "crates/merman-render", version = "0.7.0" }
merman-uniffi = { path = "crates/merman-uniffi", version = "0.7.0" }
merman-wasm = { path = "crates/merman-wasm", version = "0.7.0" }
merman-cli = { path = "crates/merman-cli", version = "0.7.0" }
dugong = { path = "crates/dugong", version = "0.7.0" }
dugong-graphlib = { path = "crates/dugong-graphlib", version = "0.7.0" }
manatee = { path = "crates/manatee", version = "0.7.0" }
# The profile that 'dist' will build with
[profile.dist]
inherits = "release"
lto = "thin"
[profile.wasm-size]
inherits = "release"
opt-level = "z"
lto = true
codegen-units = 1
panic = "abort"