Dmitrii - Demenev

Results 70 comments of Dmitrii - Demenev

I'm intending to perform some heavy computations on templates in build.rs to make sure that they are as light-weight as possible. Also, some of their content will rely on the...

In terms of the contents of the compile-time-rendered templates, they produce run-time-rendered templates with the default syntax.

The default build script (`build.rs`) is located in the crate root. So it shares the `askama.toml` with `main.rs`. `Template` derive proc macro searches for `askama.toml` in the crate root. Rewriting...

Honestly, I am not sufficiently familiar with Cargo. It might be so that OUT_DIR will differ between crates (`askama` and that of user). For debug mode, OUT_DIR of my crate...

Yet there is a way to check through all files in the directory and select those 2n (or maybe just 2) which start with the desired name. Since I'm not...

One proposed behavior is that the benchmark suit (criterion group) is first executed for the smallest sample size (10) and then iteratively for fractions of the "recommended" sample sizes given...

Also it would be nice to have an ability to continue the computation interrupted earlier.

I want the minimum sample size because I might need to perform measurements on large volumes of different data. I want to see how different approaches work on different data...

Yes, the feature mentioned in #110 would be valuable.

Several days ago I figured that that would help me implement/request trait for the associated type (through a few more steps) https://stackoverflow.com/questions/71522871/rust-implement-trait-for-the-associated-type There's a pattern that allows to achieve what...