I hadn't heard of minijinja until this, but from its Rust doc page, it looks like it's very similar to what I did in F# / Giraffe with DotLiquid integration. What do you mean by "encoding of objects"? Expecting objects in a render context is pretty standard stuff, from what I've seen. If the compiler checks them for validity, that certainly beats them blowing up at runtime. 🙂
(This is a serious question; I have yet to get back to building a full-up Rust app, but I'm still in learning mode!)