Repository: guppy-rs/guppy (language: rust)

Issue:
[hakari] Warning about no edititon set in a newly created workspace hack crate
An edition should probably be set in the default tempalte

```console
$ cargo hakari init crates/paketkoll_workspace_hack
$ cargo hakari generate
$ cargo hakari manage-deps
$ cargo build
warning: /home/arvid/src/paketkoll/crates/paketkoll_workspace_hack/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021
[...]
```

* rustc 1.81.0 (from rustup)
* Arch Linux
* Using workspace resolver 2 in my virtual workspace.


Discussion / hints:

Fix patch:
diff --git a/tools/hakari/templates/crate/Cargo.toml-in b/tools/hakari/templates/crate/Cargo.toml-in
index 7aad9d2cef0..e5460c35d7b 100644
--- a/tools/hakari/templates/crate/Cargo.toml-in
+++ b/tools/hakari/templates/crate/Cargo.toml-in
@@ -3,6 +3,7 @@
 [package]
 name = "%PACKAGE_NAME%"
 version = "0.1.0"
+edition = "2021"
 description = "workspace-hack package, managed by hakari"
 # You can choose to publish this crate: see https://docs.rs/cargo-hakari/latest/cargo_hakari/publishing.
 publish = false


Test patch: