Cargo.toml 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. [package]
  2. name = "darkfi-fuzz"
  3. version = "0.0.0"
  4. publish = false
  5. edition = "2021"
  6. [package.metadata]
  7. cargo-fuzz = true
  8. [lints]
  9. workspace = true
  10. [dependencies]
  11. libfuzzer-sys = "0.4.7"
  12. [dependencies.darkfi]
  13. path = ".."
  14. features = ["zkas"]
  15. [dependencies.darkfi-serial]
  16. path = "../src/serial"
  17. features = ["derive", "semver", "collections", "crypto", "hash"]
  18. [patch.crates-io]
  19. blake2b_simd = {git="https://github.com/parazyd/blake2_simd", branch="impl-common"}
  20. # Prevent this from interfering with workspaces
  21. [workspace]
  22. members = ["."]
  23. [profile.release]
  24. debug = 1
  25. [[bin]]
  26. name = "serial"
  27. path = "fuzz_targets/serial.rs"
  28. test = false
  29. doc = false
  30. [[bin]]
  31. name = "zkas-lexer"
  32. path = "fuzz_targets/zkas_lexer.rs"
  33. test = false
  34. doc = false
  35. [[bin]]
  36. name = "zkas-decoder"
  37. path = "fuzz_targets/zkas_decoder.rs"
  38. test = false
  39. doc = false
  40. [[bin]]
  41. name = "decode-string"
  42. path = "fuzz_targets/decode_string.rs"
  43. test = false
  44. doc = false
  45. [[bin]]
  46. name = "zkas-compile"
  47. path = "fuzz_targets/zkas_compile.rs"
  48. test = false
  49. doc = false
  50. [lints]
  51. workspace = true