Cargo.toml 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  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(any(target_arch = "riscv64", target_arch = "loongarch64"))'.dependencies]
  47. virtio-drivers = { version = "0.11.0" }
  48. [target.'cfg(target_arch = "riscv64")'.dependencies]
  49. unwinding = { version = "0.2.8", default-features = false, features = [
  50. "unwinder",
  51. "fde-static",
  52. "personality",
  53. "panic",
  54. ] }
  55. [features]
  56. default = []
  57. trace_pci = []
  58. trace_syscall = []
  59. trace_scheduler = ["eonix_runtime/trace_scheduler"]
  60. log_trace = ["trace_pci", "trace_syscall", "trace_scheduler"]
  61. log_debug = []
  62. smp = []
  63. [profile.release]
  64. debug = true
  65. [profile.dev.package.eonix_preempt]
  66. opt-level = "s"
  67. [profile.dev.package.eonix_runtime]
  68. opt-level = "s"
  69. [profile.dev.package.eonix_sync]
  70. opt-level = "s"
  71. [profile.dev.package.intrusive_list]
  72. opt-level = "s"
  73. [profile.dev.package.eonix_hal]
  74. opt-level = "s"
  75. [profile.dev.package."*"]
  76. opt-level = "s"
  77. [profile.dev.build-override]
  78. opt-level = 0
  79. codegen-units = 256
  80. debug = false
  81. [profile.release.build-override]
  82. opt-level = 0
  83. codegen-units = 256
  84. debug = false