Cargo.toml 1.4 KB

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