Cargo.toml 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  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 is omitted; including it in this list causes `cargo test` to run its
  29. # tests, and that doesn't work unless they've been built with `cargo xtask`.
  30. "xtask",
  31. "aya-bpf-macros",
  32. "aya-log-ebpf-macros",
  33. # ebpf crates are omitted; they must be built with:
  34. # --target bpfe{b,l}-unknown-none
  35. # CARGO_CFG_BPF_TARGET_ARCH={x86_64,aarch64,arm,riscv64}
  36. ]
  37. # NOTE(vadorovsky): Neither cargo-udeps nor cargo-machete are able to detect
  38. # unused crates defined in this section. It would be nice to teach either of
  39. # them to do that, but in the meantime we need to be careful.
  40. [workspace.dependencies]
  41. anyhow = { version = "1", default-features = false }
  42. assert_matches = { version = "1.5.0", default-features = false }
  43. async-io = { version = "1.3", default-features = false }
  44. aya = { path = "aya", version = "0.11.0", default-features = false }
  45. aya-bpf = { path = "bpf/aya-bpf", default-features = false }
  46. aya-log = { path = "aya-log", default-features = false }
  47. aya-log-common = { path = "aya-log-common", version = "0.1.13", default-features = false }
  48. aya-log-parser = { path = "aya-log-parser", default-features = false }
  49. aya-obj = { path = "aya-obj", version = "0.1.0", default-features = false }
  50. aya-tool = { path = "aya-tool", default-features = false }
  51. bindgen = { version = "0.66", default-features = false }
  52. bitflags = { version = "2.2.1", default-features = false }
  53. bytes = { version = "1", default-features = false }
  54. cargo_metadata = { version = "0.17.0", default-features = false }
  55. clap = { version = "4", default-features = false }
  56. core-error = { version = "0.0.0", default-features = false }
  57. dialoguer = { version = "0.10", default-features = false }
  58. diff = { version = "0.1.13", default-features = false }
  59. env_logger = { version = "0.10", default-features = false }
  60. futures = { version = "0.3.12", default-features = false }
  61. hashbrown = { version = "0.14", default-features = false }
  62. indoc = { version = "2.0", default-features = false }
  63. integration-ebpf = { path = "test/integration-ebpf", default-features = false }
  64. lazy_static = { version = "1", default-features = false }
  65. libc = { version = "0.2.105", default-features = false }
  66. log = { version = "0.4", default-features = false }
  67. netns-rs = { version = "0.1", default-features = false }
  68. num_enum = { version = "0.6", default-features = false }
  69. object = { version = "0.31", default-features = false }
  70. parking_lot = { version = "0.12.0", default-features = false }
  71. proc-macro2 = { version = "1", default-features = false }
  72. proc-macro-error = { version = "1.0", default-features = false }
  73. public-api = { version = "0.31.2", default-features = false }
  74. quote = { version = "1", default-features = false }
  75. rbpf = { version = "0.2.0", default-features = false }
  76. rustdoc-json = { version = "0.8.6", default-features = false }
  77. rustup-toolchain = { version = "0.1.5", default-features = false }
  78. syn = { version = "2", default-features = false }
  79. tempfile = { version = "3", default-features = false }
  80. testing_logger = { version = "0.1.1", default-features = false }
  81. thiserror = { version = "1", default-features = false }
  82. tokio = { version = "1.24.0", default-features = false }
  83. which = { version = "4.4.0", default-features = false }
  84. xtask = { path = "xtask", default-features = false }
  85. [profile.dev]
  86. panic = "abort"
  87. [profile.release]
  88. panic = "abort"
  89. [profile.release.package.integration-ebpf]
  90. debug = 2
  91. codegen-units = 1