Cargo.toml 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  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. intrusive-collections = { version = "0.9.8", features = [
  28. "nightly",
  29. ], git = "https://github.com/greatbridf/intrusive-rs" }
  30. bitflags = "2.6.0"
  31. itertools = { version = "0.13.0", default-features = false }
  32. acpi = "5.2.0"
  33. align_ext = "0.1.0"
  34. xmas-elf = "0.10.0"
  35. another_ext4 = { git = "https://github.com/SMS-Derfflinger/another_ext4", branch = "main" }
  36. stalloc = { version = "0.6.1", default-features = false, features = [
  37. "allocator-api",
  38. ] }
  39. async-trait = "0.1.89"
  40. futures = { version = "0.3.31", features = [
  41. "alloc",
  42. "async-await",
  43. ], default-features = false }
  44. static_assertions = "1.1.0"
  45. cfg-if = "1.0.4"
  46. [target.'cfg(target_arch = "x86_64")'.dependencies]
  47. unwinding = { version = "0.2.8", default-features = false, features = [
  48. "unwinder",
  49. "fde-static",
  50. "personality",
  51. "panic",
  52. ] }
  53. [target.'cfg(target_arch = "riscv64")'.dependencies]
  54. virtio-drivers = { version = "0.11.0" }
  55. unwinding = { version = "0.2.8", default-features = false, features = [
  56. "unwinder",
  57. "fde-static",
  58. "personality",
  59. "panic",
  60. ] }
  61. [target.'cfg(target_arch = "loongarch64")'.dependencies]
  62. virtio-drivers = { version = "0.11.0" }
  63. [features]
  64. default = []
  65. trace_pci = []
  66. trace_syscall = []
  67. trace_scheduler = ["eonix_runtime/trace_scheduler"]
  68. log_trace = ["trace_pci", "trace_syscall", "trace_scheduler"]
  69. log_debug = []
  70. smp = []
  71. [profile.release]
  72. debug = true
  73. [profile.dev.package.eonix_preempt]
  74. opt-level = "s"
  75. [profile.dev.package.eonix_runtime]
  76. opt-level = "s"
  77. [profile.dev.package.eonix_sync]
  78. opt-level = "s"
  79. [profile.dev.package.intrusive_list]
  80. opt-level = "s"
  81. [profile.dev.package.eonix_hal]
  82. opt-level = "s"
  83. [profile.dev.package."*"]
  84. opt-level = "s"
  85. [profile.dev.build-override]
  86. opt-level = 0
  87. codegen-units = 256
  88. debug = false
  89. [profile.release.build-override]
  90. opt-level = 0
  91. codegen-units = 256
  92. debug = false