-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathCargo.toml
74 lines (63 loc) · 1.9 KB
/
Cargo.toml
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
[workspace]
resolver = "2"
members = ["crates/*", ]
[workspace.package]
version = "0.1.0"
edition = "2021"
license = "MIT OR Apache-2.0"
repository = "https://github.com/voxell-tech/velyst"
readme = "README.md"
[workspace.dependencies]
# Bevy dependencies
bevy = { version = "0.14.2", default-features = false }
bevy_vello = "0.6.1"
vello = "0.2.1"
vello_svg = "0.3.1"
# Typst dependencies
typst = "0.12"
typst-assets = "0.12"
comemo = "0.4" # in sync with typst
unicode-math-class = "0.1" # in sync with typst
# Common dependencies
ecow = { version = "0.2", features = ["serde"] }
thiserror = "1"
smallvec = "1"
[workspace.lints.clippy]
redundant_type_annotations = "warn"
bool_comparison = "allow"
[package]
name = "velyst"
description = "A Typst integration for Vello and Bevy."
exclude = ["/assets/", "/.github/", "/examples/"]
version.workspace = true
edition.workspace = true
license.workspace = true
repository.workspace = true
readme.workspace = true
[dependencies]
# Local dependencies
typst_element = { version = "0.1.0", path = "crates/typst_element" }
typst_vello = { version = "0.1.0", path = "crates/typst_vello" }
velyst_macros = { version = "0.1.0", path = "crates/velyst_macros" }
bevy = { workspace = true }
bevy_vello = { workspace = true }
typst = { workspace = true }
typst-assets = { workspace = true, optional = true }
comemo = { workspace = true }
chrono = { version = "0.4.24", default-features = false, features = ["clock", "std"] }
ecow = { workspace = true }
thiserror = { workspace = true }
smallvec = { workspace = true }
[features]
default = ["embed-fonts"]
embed-fonts = ["dep:typst-assets"]
[dev-dependencies]
bevy = { workspace = true, features = ["file_watcher"] }
[lints]
workspace = true
# Enable a small amount of optimization in the dev profile.
[profile.dev]
opt-level = 1
# Enable a large amount of optimization in the dev profile for dependencies.
[profile.dev.package."*"]
opt-level = 3