4
0

Cargo.toml 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. [package]
  2. name = "integration-test"
  3. version = "0.1.0"
  4. publish = false
  5. authors.workspace = true
  6. license.workspace = true
  7. repository.workspace = true
  8. homepage.workspace = true
  9. edition.workspace = true
  10. [dependencies]
  11. anyhow = { workspace = true, features = ["std"] }
  12. assert_matches = { workspace = true }
  13. aya = { path = "../../aya", version = "^0.13.1", default-features = false }
  14. aya-log = { path = "../../aya-log", version = "^0.2.1", default-features = false }
  15. aya-obj = { path = "../../aya-obj", version = "^0.2.1", default-features = false }
  16. env_logger = { workspace = true }
  17. epoll = { workspace = true }
  18. futures = { workspace = true, features = ["std"] }
  19. libc = { workspace = true }
  20. log = { workspace = true }
  21. netns-rs = { workspace = true }
  22. object = { workspace = true, features = ["elf", "read_core", "std"] }
  23. rand = { workspace = true, features = ["std", "std_rng"] }
  24. rbpf = { workspace = true }
  25. test-case = { workspace = true }
  26. test-log = { workspace = true, features = ["log"] }
  27. tokio = { workspace = true, features = ["macros", "rt-multi-thread", "time"] }
  28. xdpilone = { workspace = true }
  29. [build-dependencies]
  30. cargo_metadata = { workspace = true }
  31. # TODO(https://github.com/rust-lang/cargo/issues/12375): this should be an artifact dependency, but
  32. # it's not possible to tell cargo to use `-Z build-std` to build it. We cargo-in-cargo in the build
  33. # script to build this, but we want to teach cargo about the dependecy so that cache invalidation
  34. # works properly.
  35. #
  36. # Note also that https://github.com/rust-lang/cargo/issues/10593 occurs when `target = ...` is added
  37. # to an artifact dependency; it seems possible to work around that by setting `resolver = "1"` in
  38. # Cargo.toml in the workspace root.
  39. #
  40. # Finally note that *any* usage of `artifact = ...` in *any* Cargo.toml in the workspace breaks
  41. # workflows with stable cargo; stable cargo outright refuses to load manifests that use unstable
  42. # features.
  43. integration-ebpf = { path = "../integration-ebpf" }
  44. xtask = { path = "../../xtask" }