diff --git a/fuzz/.gitignore b/fuzz/.gitignore new file mode 100644 index 00000000..735ae0d2 --- /dev/null +++ b/fuzz/.gitignore @@ -0,0 +1,3 @@ +target +artifacts +coverage diff --git a/fuzz/Cargo.lock b/fuzz/Cargo.lock index ed203464..61c5a73a 100644 --- a/fuzz/Cargo.lock +++ b/fuzz/Cargo.lock @@ -277,7 +277,7 @@ dependencies = [ [[package]] name = "tines-core" -version = "0.3.0" +version = "1.0.0" dependencies = [ "blake2", "heapless", diff --git a/fuzz/Cargo.toml b/fuzz/Cargo.toml index 773af80d..b20a7f45 100644 --- a/fuzz/Cargo.toml +++ b/fuzz/Cargo.toml @@ -10,7 +10,7 @@ edition = "2021" cargo-fuzz = true [dependencies] -tines-core = { path = "../tines-core", version = "0.3.0", features = ["conformance"] } +tines-core = { path = "../tines-core", version = "1", features = ["conformance"] } libfuzzer-sys = "0.4" heapless = "0.8" diff --git a/scripts/ci.sh b/scripts/ci.sh index 6b244202..b548da19 100755 --- a/scripts/ci.sh +++ b/scripts/ci.sh @@ -19,3 +19,8 @@ cargo test --locked -p tines-core --no-default-features # no_std + conformance combination is actually exercised (not just by inspection). cargo test --locked -p tines-core --no-default-features --features conformance sh scripts/check-no-std.sh +# The fuzz crate sits outside the workspace and only *runs* on nightly +# (cargo-fuzz, see .github/workflows/fuzz.yml), but it must keep resolving and +# compiling on the pinned stable toolchain, or the scheduled job rots unseen. +cargo fmt --manifest-path fuzz/Cargo.toml -- --check +cargo clippy --locked --manifest-path fuzz/Cargo.toml --all-targets -- -D warnings