Rasmus Kaj
Rasmus Kaj
@mocsy ; > I depend on compile_templates only picking up .html at the moment. Why? Do you have your templates in your `src` directory rather than in an specific `templates`...
Ah, that should work even when picking up more template names. Even with more template formats, it will only assume a file named `x.rs.y` is a template if _y_ is...
> Can we just allow any file extensions as is, without escaping? I guess we could, but that would essentially be a separate template engine, so maybe it should be...
I agree (at least to the same degree as ructe supports e.g. *warp*, i.e. by providing an example. In the future I think actual feature flags should be provided for...
Some kind of semantic constructor would be nice, maybe using a builder pattern, to make it possible to do something like: ```rust Response::builder() .something() .typed_header(SetCookie::build("NAME") .same_site_strict() .http_only() .value("value"), ) .body(something)...
Agreed. When looking into why `Response::builder().body("Hello")` _can_ fail at all, the main reason seems to be that a lot of methods of Builder takes `T: TryFrom` where A is the...
@seanmonstar , how does the `B-rfc` tag work, is there ongoing discussions somewhere else or is this thread the place for discussion? Is there a thread on users.rust-lang.org? Should I...
Ok. I have added some thoughts. Maybe I should add some more motivation / explanation on the linked PR.
> @kaj please pick the best from #442 #448 and #454 and close the other two. They fix separate parts of the problem, so I think they all are needed....
> Aim for fewer open merge requests. Ok, #483 replaces the previous PRs.