Skip to content

Commit 137f17b

Browse files
committed
Add licensing information to guide for adding new benchmarks
1 parent d1890e9 commit 137f17b

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

collector/compile-benchmarks/README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,13 @@ Rust code being written today.
206206
--id Test --profiles=Check --scenarios=IncrPatched
207207
--include=$NEW_BENCHMARK`
208208
- Add the new entry to `collector/compile-benchmarks/README.md`.
209+
- Add a new licensing entry to `collector/compile-benchmarks/REUSE.toml` (see existing entries
210+
for inspiration).
211+
- If the benchmark is artificial, use the `MIT` license and set Rust developers as the
212+
copyright owners (see e.g. `await-call-tree` as an example).
213+
- If the benchmark is a third-party crate, make sure to use its license. Try to find the
214+
copyright owner in the crate's `COPYRIGHT` or `README` files. If you cannot find it, consider
215+
using the copyright owner `<crate-name> contributors`.
209216
- `git add` the `Cargo.lock` file, if it's not already part of the
210217
benchmark's committed code.
211218
- If the benchmark has a `.gitignore` file that contains `Cargo.lock`,

0 commit comments

Comments
 (0)