https://github.com/sshine/single-lib
A single-lib workspace template for `cargo generate`
https://github.com/sshine/single-lib
Last synced: about 1 year ago
JSON representation
A single-lib workspace template for `cargo generate`
- Host: GitHub
- URL: https://github.com/sshine/single-lib
- Owner: sshine
- Created: 2024-02-11T17:08:16.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-02-11T17:09:24.000Z (over 2 years ago)
- Last Synced: 2025-02-05T08:09:28.798Z (over 1 year ago)
- Language: Rust
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# {{project-name}}
{{description}}
{% if false %}
## This is a `cargo generate` template
*(This section won't occur when using this template.)*
To install `cargo generate`, run:
```sh
cargo install cargo-generate
```
Create new template, either from GitHub, or from a local path:
```sh
cargo generate --git sshine/single-lib
```
Create a `cargo gen` shortcut by adding a section to ~/.cargo/config.toml:
```toml
[alias]
gen = "generate"
```
Add your `github-username` to ~/.cargo/cargo-generate.toml:
```toml
[values]
github-username = "sshine"
```
{% endif %}