Cargo.toml 1.4 KB

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