Cargo.toml 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. [workspace]
  2. members = [
  3. "aya",
  4. "aya-log",
  5. "aya-log-common",
  6. "aya-log-parser",
  7. "aya-obj",
  8. "aya-tool",
  9. "init",
  10. "test/integration-test",
  11. "xtask",
  12. # macros
  13. "aya-bpf-macros",
  14. "aya-log-ebpf-macros",
  15. # ebpf crates
  16. "bpf/aya-bpf",
  17. "bpf/aya-bpf-bindings",
  18. "bpf/aya-log-ebpf",
  19. "test/integration-ebpf",
  20. ]
  21. resolver = "2"
  22. default-members = [
  23. "aya",
  24. "aya-log",
  25. "aya-log-common",
  26. "aya-log-parser",
  27. "aya-obj",
  28. "aya-tool",
  29. "init",
  30. # test/integration-test is omitted; including it in this list causes `cargo test` to run its
  31. # tests, and that doesn't work unless they've been built with `cargo xtask`.
  32. "xtask",
  33. "aya-bpf-macros",
  34. "aya-log-ebpf-macros",
  35. # ebpf crates are omitted; they must be built with:
  36. # --target bpfe{b,l}-unknown-none
  37. # CARGO_CFG_BPF_TARGET_ARCH={x86_64,aarch64,arm,riscv64}
  38. ]
  39. # NOTE(vadorovsky): Neither cargo-udeps nor cargo-machete are able to detect
  40. # unused crates defined in this section. It would be nice to teach either of
  41. # them to do that, but in the meantime we need to be careful.
  42. [workspace.dependencies]
  43. anyhow = { version = "1", default-features = false }
  44. assert_matches = { version = "1.5.0", default-features = false }
  45. async-io = { version = "1.3", default-features = false }
  46. aya = { path = "aya", version = "0.11.0", default-features = false }
  47. aya-bpf = { path = "bpf/aya-bpf", default-features = false }
  48. aya-log = { path = "aya-log", default-features = false }
  49. aya-log-common = { path = "aya-log-common", version = "0.1.13", default-features = false }
  50. aya-log-parser = { path = "aya-log-parser", default-features = false }
  51. aya-obj = { path = "aya-obj", version = "0.1.0", default-features = false }
  52. aya-tool = { path = "aya-tool", default-features = false }
  53. bindgen = { version = "0.68", default-features = false }
  54. bitflags = { version = "2.2.1", default-features = false }
  55. bytes = { version = "1", default-features = false }
  56. cargo_metadata = { version = "0.18.0", default-features = false }
  57. clap = { version = "4", default-features = false }
  58. const-assert = { version = "1.0.1", default-features = false }
  59. core-error = { version = "0.0.0", default-features = false }
  60. dialoguer = { version = "0.11", default-features = false }
  61. diff = { version = "0.1.13", default-features = false }
  62. env_logger = { version = "0.10", default-features = false }
  63. epoll = { version = "4.3.3", default-features = false }
  64. futures = { version = "0.3.28", default-features = false }
  65. hashbrown = { version = "0.14", default-features = false }
  66. indoc = { version = "2.0", default-features = false }
  67. integration-ebpf = { path = "test/integration-ebpf", default-features = false }
  68. lazy_static = { version = "1", default-features = false }
  69. libc = { version = "0.2.105", default-features = false }
  70. log = { version = "0.4", default-features = false }
  71. netns-rs = { version = "0.1", default-features = false }
  72. nix = { version = "0.27.0", default-features = false }
  73. num_enum = { version = "0.7", default-features = false }
  74. object = { version = "0.32", default-features = false }
  75. proc-macro-error = { version = "1.0", default-features = false }
  76. proc-macro2 = { version = "1", default-features = false }
  77. public-api = { version = "0.32.0", default-features = false }
  78. quote = { version = "1", default-features = false }
  79. rand = { version = "0.8", default-features = false }
  80. rbpf = { version = "0.2.0", default-features = false }
  81. rustdoc-json = { version = "0.8.6", default-features = false }
  82. rustup-toolchain = { version = "0.1.5", default-features = false }
  83. rustversion = { version = "1.0.0", default-features = false }
  84. syn = { version = "2", default-features = false }
  85. tempfile = { version = "3", default-features = false }
  86. test-case = { version = "3.1.0", default-features = false }
  87. test-log = { version = "0.2.13", default-features = false }
  88. testing_logger = { version = "0.1.1", default-features = false }
  89. thiserror = { version = "1", default-features = false }
  90. tokio = { version = "1.24.0", default-features = false }
  91. which = { version = "4.4.0", default-features = false }
  92. xtask = { path = "xtask", default-features = false }
  93. [profile.dev]
  94. panic = "abort"
  95. [profile.release]
  96. panic = "abort"
  97. [profile.release.package.integration-ebpf]
  98. debug = 2
  99. codegen-units = 1