Skip to content

Commit

Permalink
add fuzz target and basic docs on how to run it (#450)
Browse files Browse the repository at this point in the history
  • Loading branch information
Byron committed Aug 7, 2022
1 parent 62d721a commit febf070
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 1 deletion.
11 changes: 11 additions & 0 deletions git-refspec/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# `git-refspec`

### Testing

#### Fuzzing

`cargo fuzz` is used for fuzzing, installable with `cargo install cargo-fuzz`.

Targets can be listed with `cargo fuzz list` and executed via `cargo +nightly fuzz run <target>`,
where `<target>` can be `parse` for example.

2 changes: 1 addition & 1 deletion git-revision/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ license = "MIT/Apache-2.0"
description = "A WIP crate of the gitoxide project dealing with finding names for revisions and parsing specifications"
authors = ["Sebastian Thiel <sebastian.thiel@icloud.com>"]
edition = "2018"
include = ["src/**/*", "CHANGELOG.md"]
include = ["src/**/*", "CHANGELOG.md", "README.md"]

[lib]
doctest = false
Expand Down
11 changes: 11 additions & 0 deletions git-revision/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# `git-revision`

### Testing

#### Fuzzing

`cargo fuzz` is used for fuzzing, installable with `cargo install cargo-fuzz`.

Targets can be listed with `cargo fuzz list` and executed via `cargo +nightly fuzz run <target>`,
where `<target>` can be `parse` for example.

0 comments on commit febf070

Please sign in to comment.