Dirkjan Ochtman

Results 2027 comments of Dirkjan Ochtman

Seems reasonable enough. I do think this should return the path relative to the search directory where it was found. Note that the path is not always defined (in the...

Hmm, maybe. Askama templates revolve more around `String`s than around writing bytes. Do you have a particular use case where the current API is awkward? Here's a branch that implements...

@nic-hartley I'm not at all opposed to it, but it probably shouldn't regress the string rendering performance. If you're interested, please take my branch and see if you can reproduce/fix...

Hmm, nope -- I'm afraid I removed it. :( It was probably kind of old anyway.

Not really, it's been too long since I last looked into it. Happy to answer any questions you might have, though!

I think I'd prefer to just rip out the `fmt::Write` layer in favor of `io::Write`.

Hmm, fair enough -- if you write a patch, I'll review it to see whether I think it makes sense.

It seems clear to me that we can do both, and should ideally support both. Relying on strings as the primary interface is a bit more powerful because strings are...

I think you can use the configuration to do this: https://djc.github.io/askama/configuration.html.

Ah, sorry; it does like we currently always use the mime_guess crate to determine the MIME type from an extension. I suppose we could add configuration that would let you...