Cargo.toml 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. [workspace]
  2. members = [
  3. "aya",
  4. "aya-log",
  5. "aya-log-common",
  6. "aya-log-parser",
  7. "aya-obj",
  8. "aya-tool",
  9. "test/integration-test",
  10. "xtask",
  11. # macros
  12. "aya-bpf-macros",
  13. "aya-log-ebpf-macros",
  14. # ebpf crates
  15. "bpf/aya-bpf",
  16. "bpf/aya-bpf-bindings",
  17. "bpf/aya-log-ebpf",
  18. "test/integration-ebpf",
  19. ]
  20. resolver = "2"
  21. default-members = [
  22. "aya",
  23. "aya-log",
  24. "aya-log-common",
  25. "aya-log-parser",
  26. "aya-obj",
  27. "aya-tool",
  28. "test/integration-test",
  29. "xtask",
  30. "aya-bpf-macros",
  31. "aya-log-ebpf-macros",
  32. # ebpf crates are omitted; they must be built with:
  33. # --target bpfe{b,l}-unknown-none
  34. # CARGO_CFG_BPF_TARGET_ARCH={x86_64,aarch64,arm,riscv64}
  35. ]
  36. # NOTE(vadorovsky): Neither cargo-udeps nor cargo-machete are able to detect
  37. # unused crates defined in this section. It would be nice to teach either of
  38. # them to do that, but in the meantime we need to be careful.
  39. [workspace.dependencies]
  40. anyhow = { version = "1", default-features = false }
  41. assert_matches = { version = "1.5.0", default-features = false }
  42. async-io = { version = "1.3", default-features = false }
  43. aya = { path = "aya", version = "0.11.0", default-features = false }
  44. aya-bpf = { path = "bpf/aya-bpf", default-features = false }
  45. aya-log = { path = "aya-log", default-features = false }
  46. aya-log-common = { path = "aya-log-common", version = "0.1.13", default-features = false }
  47. aya-log-parser = { path = "aya-log-parser", default-features = false }
  48. aya-obj = { path = "aya-obj", version = "0.1.0", default-features = false }
  49. aya-tool = { path = "aya-tool", default-features = false }
  50. bindgen = { version = "0.66", default-features = false }
  51. bitflags = { version = "2.2.1", default-features = false }
  52. bytes = { version = "1", default-features = false }
  53. cargo_metadata = { version = "0.15.4", default-features = false }
  54. clap = { version = "4", default-features = false }
  55. core-error = { version = "0.0.0", default-features = false }
  56. env_logger = { version = "0.10", default-features = false }
  57. futures = { version = "0.3.12", default-features = false }
  58. hashbrown = { version = "0.14", default-features = false }
  59. indoc = { version = "2.0", default-features = false }
  60. integration-ebpf = { path = "test/integration-ebpf", default-features = false }
  61. lazy_static = { version = "1", default-features = false }
  62. libc = { version = "0.2.105", default-features = false }
  63. log = { version = "0.4", default-features = false }
  64. num_enum = { version = "0.6", default-features = false }
  65. object = { version = "0.31", default-features = false }
  66. parking_lot = { version = "0.12.0", default-features = false }
  67. proc-macro2 = { version = "1", default-features = false }
  68. quote = { version = "1", default-features = false }
  69. rbpf = { version = "0.2.0", default-features = false }
  70. syn = { version = "2", default-features = false }
  71. tempfile = { version = "3", default-features = false }
  72. testing_logger = { version = "0.1.1", default-features = false }
  73. thiserror = { version = "1", default-features = false }
  74. tokio = { version = "1.24.0", default-features = false }
  75. which = { version = "4.4.0", default-features = false }
  76. xtask = { path = "xtask", default-features = false }
  77. [profile.dev]
  78. panic = "abort"
  79. [profile.release]
  80. panic = "abort"
  81. [profile.release.package.integration-ebpf]
  82. debug = 2
  83. codegen-units = 1