Skip to content

Commit 878899d

Browse files
committed
feat: add template tag parser and compiler
1 parent 28472c0 commit 878899d

File tree

18 files changed

+14495
-14
lines changed

18 files changed

+14495
-14
lines changed

Cargo.lock

Lines changed: 213 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,18 @@
22
members = [
33
"crates/djc-core",
44
"crates/djc-html-transformer",
5+
"crates/djc-template-parser",
56
]
67
resolver = "2"
78

89
[workspace.dependencies]
910
pyo3 = { version = "0.27.1", features = ["extension-module"] }
1011
quick-xml = "0.38.3"
12+
pest = "2.8.3"
13+
pest_derive = "2.8.3"
14+
thiserror = "2.0.17"
15+
regex = "1.12.2"
16+
lazy_static = "1.5.0"
1117

1218
# https://ohadravid.github.io/posts/2023-03-rusty-python
1319
[profile.release]

crates/djc-core/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,6 @@ crate-type = ["cdylib"]
1111

1212
[dependencies]
1313
djc-html-transformer = { path = "../djc-html-transformer" }
14+
djc-template-parser = { path = "../djc-template-parser" }
1415
pyo3 = { workspace = true }
1516
quick-xml = { workspace = true }

0 commit comments

Comments
 (0)