repository template for Rust projects

dev: simplify placeholder syntax, make consistent with other repository template

Changed files
+10 -10
crates
+1 -1
Cargo.toml
··· 3 3 resolver = "3" 4 4 5 5 [workspace.package] 6 - authors = ["{{author}} <{{email}}>"] 6 + authors = ["_author_ <_email_>"] 7 7 license = "MIT OR Apache-2.0" 8 8 edition = "2024" 9 9 rust-version = "1.91.0"
+1 -1
LICENSE-MIT
··· 1 1 MIT License 2 2 3 - Copyright (c) 2026 {{author}} 3 + Copyright (c) 2026 _author_ 4 4 5 5 Permission is hereby granted, free of charge, to any person obtaining a copy 6 6 of this software and associated documentation files (the "Software"), to deal
+4 -4
README.md
··· 15 15 16 16 ### Replace placeholders 17 17 Replace the following placeholders with your editor's find-and-replace: 18 - - `{{library}}` - The name of the library. 19 - - `{{desc}}` - The description of the library. 20 - - `{{author}}` - The author's name of the library. For example, this could be a username, nickname, or real name. 21 - - `{{email}}` - The author's email address. This is optional and can be deleted. 18 + - `_library_` - The name of the library. 19 + - `_desc_` - The description of the library. 20 + - `_author_` - The author's name of the library. For example, this could be a username, nickname, or real name. 21 + - `_email_` - The author's email address. This is optional and can be deleted. 22 22 - `my_crate` - Replace this with the name of your crate. 23 23 24 24 ## Configure
+1 -1
crates/my_crate/Cargo.toml
··· 2 2 name = "my_crate" 3 3 publish = false 4 4 version = "0.1.0" 5 - description = "{{desc}}" 5 + description = "_desc_" 6 6 include = ["src", "LICENSE*"] 7 7 keywords = [] 8 8 categories = []
+3 -3
crates/my_crate/README.md
··· 1 - # {{library}} 1 + # _library_ 2 2 [![License][license-badge]][license-url] 3 3 4 4 [license-badge]: https://img.shields.io/badge/License-MIT%20%26%20Apache%202.0-blue?style=flat-square 5 5 [license-url]: #license 6 6 7 - {{desc}} 7 + _desc_ 8 8 9 9 ## Install 10 10 ```shell 11 - cargo add {{library}} 11 + cargo add _library_ 12 12 ``` 13 13 14 14 ## License