Get the latest tech news
An introduction to advanced Rust traits and generics
All about Rust traits, generics, trait bounds and implementing advanced trait bounds
A common workaround for this is to create a newtype pattern - that is, a one-field tuple struct encapsulating the type we want to extend. Typically from a user standpoint, the compiler doesn't care what the underlying concrete type is - just that it implements the trait. Zola, the Static Site Generator, uses Tera specifically because of certain design conditions that are unable to be satisfied by Askama.
Or read this on Hacker News