Cargo.toml 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. [workspace]
  2. members = [
  3. "aya",
  4. "aya-build",
  5. "aya-log",
  6. "aya-log-common",
  7. "aya-log-parser",
  8. "aya-obj",
  9. "aya-tool",
  10. "init",
  11. "test/integration-common",
  12. "test/integration-test",
  13. "xtask",
  14. # macros
  15. "aya-ebpf-macros",
  16. "aya-log-ebpf-macros",
  17. # ebpf crates
  18. "ebpf/aya-ebpf",
  19. "ebpf/aya-ebpf-bindings",
  20. "ebpf/aya-log-ebpf",
  21. "test/integration-ebpf",
  22. ]
  23. resolver = "2"
  24. default-members = [
  25. "aya",
  26. "aya-build",
  27. "aya-log",
  28. "aya-log-common",
  29. "aya-log-parser",
  30. "aya-obj",
  31. "aya-tool",
  32. "init",
  33. "test/integration-common",
  34. # test/integration-test is omitted; including it in this list causes `cargo test` to run its
  35. # tests, and that doesn't work unless they've been built with `cargo xtask`.
  36. "xtask",
  37. "aya-ebpf-macros",
  38. "aya-log-ebpf-macros",
  39. # ebpf crates are omitted; they must be built with:
  40. # --target bpfe{b,l}-unknown-none
  41. # CARGO_CFG_BPF_TARGET_ARCH={x86_64,aarch64,arm,riscv64,powerpc64,s390x}
  42. ]
  43. [workspace.package]
  44. authors = ["Aya Contributors"]
  45. license = "MIT OR Apache-2.0"
  46. repository = "https://github.com/aya-rs/aya"
  47. homepage = "https://aya-rs.dev"
  48. edition = "2021"
  49. # NOTE(vadorovsky): Neither cargo-udeps nor cargo-machete are able to detect
  50. # unused crates defined in this section. It would be nice to teach either of
  51. # them to do that, but in the meantime we need to be careful.
  52. [workspace.dependencies]
  53. anyhow = { version = "1", default-features = false }
  54. assert_matches = { version = "1.5.0", default-features = false }
  55. async-io = { version = "2.0", default-features = false }
  56. bindgen = { version = "0.70", default-features = false }
  57. bitflags = { version = "2.2.1", default-features = false }
  58. bytes = { version = "1", default-features = false }
  59. cargo_metadata = { version = "0.19.0", default-features = false }
  60. clap = { version = "4", default-features = false }
  61. const-assert = { version = "1.0.1", default-features = false }
  62. dialoguer = { version = "0.11", default-features = false }
  63. diff = { version = "0.1.13", default-features = false }
  64. env_logger = { version = "0.11", default-features = false }
  65. epoll = { version = "4.3.3", default-features = false }
  66. futures = { version = "0.3.28", default-features = false }
  67. hashbrown = { version = "0.15.0", default-features = false }
  68. indoc = { version = "2.0", 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.29.0", default-features = false }
  73. num_enum = { version = "0.7", default-features = false }
  74. object = { version = "0.36", default-features = false }
  75. once_cell = { version = "1.20.1", default-features = false }
  76. proc-macro-error = { version = "1.0", default-features = false }
  77. proc-macro2 = { version = "1", default-features = false }
  78. public-api = { version = "0.42.0", default-features = false }
  79. quote = { version = "1", default-features = false }
  80. rand = { version = "0.8", default-features = false }
  81. rbpf = { version = "0.3.0", default-features = false }
  82. rustdoc-json = { version = "0.9.0", default-features = false }
  83. rustup-toolchain = { version = "0.1.5", default-features = false }
  84. rustversion = { version = "1.0.0", default-features = false }
  85. syn = { version = "2", default-features = false }
  86. tempfile = { version = "3", default-features = false }
  87. test-case = { version = "3.1.0", default-features = false }
  88. test-log = { version = "0.2.13", default-features = false }
  89. testing_logger = { version = "0.1.1", default-features = false }
  90. thiserror = { version = "2.0.3", default-features = false }
  91. tokio = { version = "1.24.0", default-features = false }
  92. which = { version = "7.0.0", default-features = false }
  93. xdpilone = { version = "1.0.5", default-features = false }
  94. [profile.release.package.integration-ebpf]
  95. debug = 2
  96. codegen-units = 1