Skip to content

Clarify that edition can be set in a Cargo workspace #45

Closed
@djc

Description

@djc

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!

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions