Cargo.toml 2.4 KB

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