Skip to content

Commit b327b35

Browse files
Replace tera with askama
1 parent f6eaee8 commit b327b35

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+974
-1030
lines changed

Cargo.lock

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

Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,8 @@ tempfile = "3.1.0"
101101
fn-error-context = "0.2.0"
102102

103103
# Templating
104-
tera = { version = "1.5.0", features = ["builtins"] }
104+
# tera = { version = "1.5.0", features = ["builtins"] }
105+
askama = { path = "/home/imperio/rust/askama/askama" } # { git = "https://github.com/djc/askama" }
105106
walkdir = "2"
106107

107108
# Date and Time utilities

src/docbuilder/limits.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ const GB: usize = 1024 * 1024 * 1024;
66

77
#[derive(Debug, Clone, PartialEq, Eq, Serialize)]
88
pub(crate) struct Limits {
9-
memory: usize,
10-
targets: usize,
11-
timeout: Duration,
12-
networking: bool,
13-
max_log_size: usize,
9+
pub memory: usize,
10+
pub targets: usize,
11+
pub timeout: Duration,
12+
pub networking: bool,
13+
pub max_log_size: usize,
1414
}
1515

1616
impl Limits {

0 commit comments

Comments
 (0)