René Kijewski

Results 102 comments of René Kijewski

A project this big can never be free of errors, that will only show themselves after the release. I think the changelog addresses to the users' interests quite well. :+1:...

You don't have to override the title block. Then "{{ title }} - My Site" is used as a fallback / default.

In the generated code askama invokes Vec::into_iter(), which tries to consume the vector, which gives to the error you posted. You need to "convince" askama to use an [Iterator](https://doc.rust-lang.org/std/iter/trait.Iterator.html) instead...

@vallentin, the iterator is stored in [`_iter`](https://github.com/djc/askama/blob/228f6b2b34913077259e2d54036154a6d6f5bd10/askama_shared/src/generator.rs#L626). The problem is that calling iter() in line 644 fails some test with "type annotations needed", so I guess we are stuck with...

I don't know if it would be possible to automatically divine when it's possible to call .iter(). I guess if it's possible to use .iter(), then you also want to...

The error location could be better determined by introducing [cuts](https://docs.rs/nom/6.2.1/nom/combinator/fn.cut.html). E.g. ```rs opt(tag("-")), ws(tag("for")), ws(alt((target_single, target_tuple))), ws(tag("in")), ws(expr_any), opt(tag("-")), |i| tag_block_end(i, s), |i| parse_template(i, s), |i| tag_block_start(i, s), opt(tag("-")), ws(tag("endfor")),...

I never used conda, and I don't know anything about it, sorry. But I'd be happy to accept your PR if you know how to add conda support. :)

Pyjson5's parser does not preserve the comments or whitespaces. So the serializer is nearly identical to standard json.dump(s), except that pyjson5's output is HTML-safe and ASCII-only. If you need pretty...

tzdb itself does not need any features in std, but [tz-rs](https://github.com/x-hgg-x/tz-rs/) does not support no_std. This should be easily fixable, though, I think. I'll have a look if I can...

Ah, I think I spoke too early. [iana-time-zone](https://github.com/strawlab/iana-time-zone) needs to read files, and I don't know how difficult it would be to use e.g. rustix to do the io operations...