Cargo.toml 1.4 KB

123456789101112131415161718192021222324252627282930313233343536
  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. 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, features = ["macros", "time"] }
  19. [build-dependencies]
  20. cargo_metadata = { workspace = true }
  21. # TODO(https://github.com/rust-lang/cargo/issues/12375): this should be an artifact dependency, but
  22. # it's not possible to tell cargo to use `-Z build-std` to build it. We cargo-in-cargo in the build
  23. # script to build this, but we want to teach cargo about the dependecy so that cache invalidation
  24. # works properly.
  25. #
  26. # Note also that https://github.com/rust-lang/cargo/issues/10593 occurs when `target = ...` is added
  27. # to an artifact dependency; it seems possible to work around that by setting `resolver = "1"` in
  28. # Cargo.toml in the workspace root.
  29. #
  30. # Finally note that *any* usage of `artifact = ...` in *any* Cargo.toml in the workspace breaks
  31. # workflows with stable cargo; stable cargo outright refuses to load manifests that use unstable
  32. # features.
  33. integration-ebpf = { path = "../integration-ebpf" }
  34. xtask = { workspace = true }