Skip to content

Commit

Permalink
deps: use upstream of MiniJinja with our merged PRs
Browse files Browse the repository at this point in the history
implementing the wordcount and wordwrap filters
- also enable MiniJinja `stacker` feature for performance
- removed redundant minijinja-contrib time and time-tz features (covered by datetime and timezone), and add wordwrap and unicode_wordwrap features
  • Loading branch information
jqnatividad committed Dec 1, 2024
1 parent 5251a7c commit 9014812
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 6 deletions.
31 changes: 27 additions & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 7 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -146,15 +146,16 @@ minijinja = { version = "2", features = [
"json",
"loop_controls",
"speedups",
"stacker",
"urlencode",
] }
minijinja-contrib = { version = "2", features = [
"datetime",
"pycompat",
"rand",
"time",
"time-tz",
"timezone",
"wordwrap",
"unicode_wordwrap",
] }
mlua = { version = "0.10", features = [
"luau",
Expand Down Expand Up @@ -313,6 +314,10 @@ grex = { git = "https://github.com/pemistahl/grex", rev = "bbf3064" }
# use modernized version of local_encoding
local-encoding = { git = "https://github.com/slonopotamus/local-encoding-rs", branch = "travis-madness" }

# use upstream minijinja with our merged PRs
minijinja = { git = "https://github.com/mitsuhiko/minijinja", rev = "4249fb3" }
minijinja-contrib = { git = "https://github.com/mitsuhiko/minijinja", rev = "4249fb3" }

# use our patched fork of sled to get rid of unmaintained instant
sled = { git = "https://github.com/dathere/sled", branch = "v0.34.7-bumped-parking_lot_to_0.12" }

Expand Down

0 comments on commit 9014812

Please sign in to comment.