Cargo.toml 1.7 KB

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