This seems to work, but is not mentioned in the guide (in transitioning.html
):
cargo-features = ["edition"]
[workspace]
members = ["askama", "askama_derive", "askama_shared", "testing"]
edition = "2018"
Obviously, adding it one place instead of per-crate is rather attractive!