Cargo.toml 606 B

1234567891011121314151617181920212223242526272829303132
  1. [package]
  2. name = "smoltcp-fuzz"
  3. version = "0.0.1"
  4. authors = ["Automatically generated"]
  5. publish = false
  6. [package.metadata]
  7. cargo-fuzz = true
  8. [dependencies]
  9. getopts = "0.2"
  10. [dependencies.smoltcp]
  11. path = ".."
  12. [dependencies.libfuzzer-sys]
  13. git = "https://github.com/rust-fuzz/libfuzzer-sys.git"
  14. [profile.release]
  15. codegen-units = 1 # needed to prevent weird linker error about sancov guards
  16. # Prevent this from interfering with workspaces
  17. [workspace]
  18. members = ["."]
  19. [[bin]]
  20. name = "packet_parser"
  21. path = "fuzz_targets/packet_parser.rs"
  22. [[bin]]
  23. name = "tcp_headers"
  24. path = "fuzz_targets/tcp_headers.rs"