-
-
Notifications
You must be signed in to change notification settings - Fork 223
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move all of the template creation into askama_shared #647
Changes from all commits
1db7e8c
f8eef40
f874614
3baec95
774c651
c8a7ab5
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "askama_shared" | ||
version = "0.12.2" | ||
version = "0.13.0" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why do we need this bump? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I un-exported a bunch of symbols. Older |
||
description = "Shared code for Askama" | ||
homepage = "https://github.com/djc/askama" | ||
repository = "https://github.com/djc/askama" | ||
|
@@ -16,6 +16,14 @@ json = ["serde", "serde_json", "askama_escape/json"] | |
markdown = ["comrak"] | ||
yaml = ["serde", "serde_yaml"] | ||
|
||
actix-web = [] | ||
axum = [] | ||
gotham = [] | ||
mendes = [] | ||
rocket = [] | ||
tide = [] | ||
warp = [] | ||
|
||
[dependencies] | ||
askama_escape = { version = "0.10.3", path = "../askama_escape" } | ||
comrak = { version = "0.12", optional = true, default-features = false } | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do we need this bump?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I un-exported a bunch of symbols. Olderaskama_shared
versions would break with this update. Every item in https://github.com/djc/askama/blob/main/askama_derive/src/lib.rs#L8-L10 is gone after the PR.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I removed the features section, because they are now handles in askama_shared.
I am not 100% sure, but I guess if I re-added the features, incrementing the patch version only should be fine.