Skip to content

Commit

Permalink
Move testing/common_fuzz into root workspace
Browse files Browse the repository at this point in the history
This enables us to remove the parent crate that the fuzz crates
require (#421)
  • Loading branch information
fridrik01 committed Dec 19, 2023
1 parent 03c3c6e commit cd1d4f4
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 31 deletions.
15 changes: 15 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ members = [
"ipld/kamt/fuzz",
"testing/calibration/shared",
"testing/conformance",
"testing/common_fuzz/fuzz",
"testing/integration",
"testing/test_actors",
"testing/test_actors/actors/*",
Expand Down
11 changes: 0 additions & 11 deletions testing/common_fuzz/Cargo.toml

This file was deleted.

24 changes: 9 additions & 15 deletions testing/common_fuzz/fuzz/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,22 +9,16 @@ edition = "2021"
cargo-fuzz = true

[dependencies]
libfuzzer-sys = "0.4"
arbitrary = { version = "1.1", features = ["derive"] }
rand = "0.8.5"
libfuzzer-sys = { workspace = true }
arbitrary ={ workspace = true, features = ["derive"] }
rand = { workspace = true }
cid = { workspace = true, features = ["serde-codec", "arb", "std"] }
fvm_ipld_bitfield = { path = "../../../ipld/bitfield", features = ["enable-arbitrary"] }
fvm_ipld_encoding = { path = "../../../ipld/encoding" }
fvm_shared = { path = "../../../shared", features = ["arb"] }
serde = { version = "1", features = ["derive"] }

# Prevent this from interfering with workspaces
[workspace]
members = ["."]

[workspace.dependencies]
cid = "0.10.1"
multihash = "0.18.1"
multihash = { workspace = true }

fvm_ipld_bitfield = { workspace = true, features = ["enable-arbitrary"] }
fvm_ipld_encoding = { workspace = true }
fvm_shared = { workspace = true, features = ["arb"] }
serde = { workspace = true }

[[bin]]
name = "rle_ops"
Expand Down
5 changes: 0 additions & 5 deletions testing/common_fuzz/src/main.rs

This file was deleted.

0 comments on commit cd1d4f4

Please sign in to comment.