diff --git a/Cargo.lock b/Cargo.lock index 790702175f..2ca29c7919 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3094,6 +3094,17 @@ dependencies = [ "libfuzzer-sys", ] +[[package]] +name = "ipld_hamt-fuzz" +version = "0.0.0" +dependencies = [ + "ahash 0.7.7", + "arbitrary", + "fvm_ipld_blockstore 0.2.0", + "fvm_ipld_hamt 0.9.0", + "libfuzzer-sys", +] + [[package]] name = "ipld_kamt-fuzz" version = "0.0.0" diff --git a/Cargo.toml b/Cargo.toml index d7acd283ff..05ae24eb14 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -9,6 +9,7 @@ members = [ "testing/calibration/shared", "ipld/*", "ipld/amt/fuzz", + "ipld/hamt/fuzz", "ipld/kamt/fuzz", "testing/test_actors", "testing/test_actors/actors/*", @@ -17,7 +18,7 @@ members = [ [workspace.dependencies] # common -serde = { version = "1.0.164", features = ["derive"] } +serde = { version = "1.0.164", default-features = false, features = ["derive"] } thiserror = "1.0.40" anyhow = "1.0.71" rand = "0.8.5" @@ -26,7 +27,7 @@ serde_json = "1.0.99" serde_tuple = "0.5.0" byteorder = "1.4.3" hex = "0.4.3" -num-traits = "0.2.14" +num-traits = { version = "0.2.14", default-features = false } num-derive = "0.4.0" lazy_static = "1.4.0" log = "0.4.19" @@ -58,7 +59,8 @@ quickcheck_macros = "1.0.0" minstant = "0.1.3" # workspace -fvm = { path = "fvm" } +fvm = { path = "fvm", default-features = false } +fvm_shared = { path = "shared", default-features = false } fvm_sdk = { path = "sdk" } fvm_ipld_amt = { path = "ipld/amt" } fvm_ipld_hamt = { path = "ipld/hamt" } @@ -67,7 +69,6 @@ fvm_ipld_car = { path = "ipld/car" } fvm_ipld_blockstore = { path = "ipld/blockstore" } fvm_ipld_bitfield = { path = "ipld/bitfield" } fvm_ipld_encoding = { path = "ipld/encoding" } -fvm_shared = { path = "shared" } [profile.actor] inherits = "release" diff --git a/ipld/hamt/fuzz/Cargo.toml b/ipld/hamt/fuzz/Cargo.toml index 4a3aaaa303..37e438532f 100644 --- a/ipld/hamt/fuzz/Cargo.toml +++ b/ipld/hamt/fuzz/Cargo.toml @@ -16,11 +16,6 @@ ahash = { workspace = true } fvm_ipld_hamt = { workspace = true } fvm_ipld_blockstore = { workspace = true } - -# Prevent this from interfering with workspaces -[workspace] -members = ["."] - [[bin]] name = "simple" path = "fuzz_targets/simple.rs"