mirror of
https://github.com/tokio-rs/axum.git
synced 2024-12-28 23:38:20 +01:00
GitHub: Add a Q&A discussion template (#2340)
This commit is contained in:
parent
20862d42f5
commit
9a931605dd
1 changed files with 23 additions and 0 deletions
23
.github/DISCUSSION_TEMPLATE/q-a.yml
vendored
Normal file
23
.github/DISCUSSION_TEMPLATE/q-a.yml
vendored
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
title: 'Q&A'
|
||||||
|
body:
|
||||||
|
- type: textarea
|
||||||
|
attributes:
|
||||||
|
label: Summary
|
||||||
|
description: 'Your question:'
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
|
- type: input
|
||||||
|
attributes:
|
||||||
|
label: axum version
|
||||||
|
description: 'Please look it up in `Cargo.lock`'
|
||||||
|
- type: markdown
|
||||||
|
attributes:
|
||||||
|
value: |
|
||||||
|
> [!NOTE]
|
||||||
|
> If you have `jq` installed, you can look up the version by running
|
||||||
|
>
|
||||||
|
> ```bash
|
||||||
|
> cargo metadata --format-version=1 | jq -r '.packages[] | select(.name == "axum") | .version'
|
||||||
|
> ```
|
||||||
|
validations:
|
||||||
|
required: true
|
Loading…
Reference in a new issue