Cargo.toml 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. [package]
  2. name = "eonix_kernel"
  3. version = "0.1.0"
  4. edition = "2021"
  5. [lib]
  6. crate-type = ["bin"]
  7. [dependencies]
  8. arcref = { path = "./crates/arcref", default-features = false, features = [
  9. "alloc",
  10. ] }
  11. atomic_unique_refcell = { path = "./crates/atomic_unique_refcell", features = [
  12. "no_std",
  13. ] }
  14. buddy_allocator = { path = "./crates/buddy_allocator" }
  15. eonix_hal = { path = "./crates/eonix_hal" }
  16. eonix_macros = { path = "./macros" }
  17. eonix_mm = { path = "./crates/eonix_mm" }
  18. eonix_percpu = { path = "./crates/eonix_percpu" }
  19. eonix_preempt = { path = "./crates/eonix_preempt" }
  20. eonix_runtime = { path = "./crates/eonix_runtime" }
  21. eonix_sync = { path = "./crates/eonix_sync" }
  22. eonix_log = { path = "./crates/eonix_log" }
  23. intrusive_list = { path = "./crates/intrusive_list" }
  24. pointers = { path = "./crates/pointers" }
  25. posix_types = { path = "./crates/posix_types" }
  26. slab_allocator = { path = "./crates/slab_allocator" }
  27. bitflags = "2.6.0"
  28. intrusive-collections = { version = "0.9.8", git = "https://github.com/greatbridf/intrusive-rs" }
  29. itertools = { version = "0.13.0", default-features = false }
  30. acpi = "5.2.0"
  31. align_ext = "0.1.0"
  32. xmas-elf = "0.10.0"
  33. another_ext4 = { git = "https://github.com/SMS-Derfflinger/another_ext4", branch = "main" }
  34. stalloc = { version = "0.6.1", default-features = false, features = [
  35. "allocator-api",
  36. ] }
  37. async-trait = "0.1.89"
  38. futures = { version = "0.3.31", features = [
  39. "alloc",
  40. "async-await",
  41. ], default-features = false }
  42. static_assertions = "1.1.0"
  43. [target.'cfg(any(target_arch = "riscv64", target_arch = "loongarch64"))'.dependencies]
  44. virtio-drivers = { version = "0.11.0" }
  45. [target.'cfg(target_arch = "riscv64")'.dependencies]
  46. unwinding = { version = "0.2.8", default-features = false, features = [
  47. "unwinder",
  48. "fde-static",
  49. "personality",
  50. "panic",
  51. ] }
  52. [features]
  53. default = []
  54. trace_pci = []
  55. trace_syscall = []
  56. trace_scheduler = ["eonix_runtime/trace_scheduler"]
  57. log_trace = ["trace_pci", "trace_syscall", "trace_scheduler"]
  58. log_debug = []
  59. smp = []
  60. [profile.release]
  61. debug = true
  62. [profile.dev.package.eonix_preempt]
  63. opt-level = "s"
  64. [profile.dev.package.eonix_runtime]
  65. opt-level = "s"
  66. [profile.dev.package.eonix_sync]
  67. opt-level = "s"
  68. [profile.dev.package.intrusive_list]
  69. opt-level = "s"
  70. [profile.dev.package.eonix_hal]
  71. opt-level = "s"
  72. [profile.dev.package."*"]
  73. opt-level = "s"
  74. [profile.dev.build-override]
  75. opt-level = 0
  76. codegen-units = 256
  77. debug = false
  78. [profile.release.build-override]
  79. opt-level = 0
  80. codegen-units = 256
  81. debug = false